home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / hyperbole / hui-window.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  16.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 35 32 3a 33 | 36 20 31 39 39 35 0a 3b | 14:52:3|6 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 65 78 |;; from |file /ex|
|00000060| 70 6f 72 74 2f 77 69 6c | 6c 6f 77 33 2f 78 65 6d |port/wil|low3/xem|
|00000070| 61 63 73 2d 31 39 2e 31 | 33 2d 72 65 6c 65 61 73 |acs-19.1|3-releas|
|00000080| 65 2f 65 64 69 74 6f 72 | 2f 6c 69 73 70 2f 68 79 |e/editor|/lisp/hy|
|00000090| 70 65 72 62 6f 6c 65 2f | 68 75 69 2d 77 69 6e 64 |perbole/|hui-wind|
|000000a0| 6f 77 2e 65 6c 0a 3b 3b | 3b 20 65 6d 61 63 73 20 |ow.el.;;|; emacs |
|000000b0| 76 65 72 73 69 6f 6e 20 | 31 39 2e 31 33 20 58 45 |version |19.13 XE|
|000000c0| 6d 61 63 73 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |macs Luc|id..;;; |
|000000d0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000e0| 20 32 2e 32 35 3b 20 31 | 2d 53 65 70 2d 39 34 2e | 2.25; 1|-Sep-94.|
|000000f0| 0a 3b 3b 3b 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f |.;;; opt|imizatio|
|00000100| 6e 20 69 73 20 6f 6e 2e | 0a 3b 3b 3b 20 74 68 69 |n is on.|.;;; thi|
|00000110| 73 20 66 69 6c 65 20 75 | 73 65 73 20 6f 70 63 6f |s file u|ses opco|
|00000120| 64 65 73 20 77 68 69 63 | 68 20 64 6f 20 6e 6f 74 |des whic|h do not|
|00000130| 20 65 78 69 73 74 20 69 | 6e 20 45 6d 61 63 73 20 | exist i|n Emacs |
|00000140| 31 38 2e 0a 0a 28 69 66 | 20 28 61 6e 64 20 28 62 |18...(if| (and (b|
|00000150| 6f 75 6e 64 70 20 27 65 | 6d 61 63 73 2d 76 65 72 |oundp 'e|macs-ver|
|00000160| 73 69 6f 6e 29 0a 09 20 | 28 6f 72 20 28 61 6e 64 |sion).. |(or (and|
|00000170| 20 28 62 6f 75 6e 64 70 | 20 27 65 70 6f 63 68 3a | (boundp| 'epoch:|
|00000180| 3a 76 65 72 73 69 6f 6e | 29 20 65 70 6f 63 68 3a |:version|) epoch:|
|00000190| 3a 76 65 72 73 69 6f 6e | 29 0a 09 20 20 20 20 20 |:version|).. |
|000001a0| 28 73 74 72 69 6e 67 2d | 6c 65 73 73 70 20 65 6d |(string-|lessp em|
|000001b0| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 22 31 39 22 |acs-vers|ion "19"|
|000001c0| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001d0| 54 68 69 73 20 66 69 6c | 65 20 77 61 73 20 63 6f |This fil|e was co|
|000001e0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001f0| 20 31 39 2e 22 29 29 0a | 0a 28 64 65 66 76 61 72 | 19.")).|.(defvar|
|00000200| 20 61 63 74 69 6f 6e 2d | 6b 65 79 2d 6d 6f 64 65 | action-|key-mode|
|00000210| 6c 69 6e 65 2d 68 6f 6f | 6b 20 27 68 6d 6f 75 73 |line-hoo|k 'hmous|
|00000220| 65 2d 63 6f 6e 74 65 78 | 74 2d 6d 65 6e 75 20 22 |e-contex|t-menu "|
|00000230| 5c 0a 41 20 6c 69 73 74 | 20 6f 66 20 66 75 6e 63 |\.A list| of func|
|00000240| 74 69 6f 6e 73 20 74 6f | 20 63 61 6c 6c 20 77 68 |tions to| call wh|
|00000250| 65 6e 20 74 68 65 20 41 | 63 74 69 6f 6e 20 4d 6f |en the A|ction Mo|
|00000260| 75 73 65 20 4b 65 79 20 | 69 73 20 63 6c 69 63 6b |use Key |is click|
|00000270| 65 64 20 69 6e 20 74 68 | 65 20 63 65 6e 74 65 72 |ed in th|e center|
|00000280| 20 70 6f 72 74 69 6f 6e | 20 6f 66 20 61 20 6d 6f | portion| of a mo|
|00000290| 64 65 6c 69 6e 65 2e 22 | 29 0a 28 64 65 66 76 61 |deline."|).(defva|
|000002a0| 72 20 61 73 73 69 73 74 | 2d 6b 65 79 2d 6d 6f 64 |r assist|-key-mod|
|000002b0| 65 6c 69 6e 65 2d 68 6f | 6f 6b 20 6e 69 6c 20 22 |eline-ho|ok nil "|
|000002c0| 5c 0a 41 20 6c 69 73 74 | 20 6f 66 20 66 75 6e 63 |\.A list| of func|
|000002d0| 74 69 6f 6e 73 20 74 6f | 20 63 61 6c 6c 20 77 68 |tions to| call wh|
|000002e0| 65 6e 20 74 68 65 20 41 | 73 73 69 73 74 20 4d 6f |en the A|ssist Mo|
|000002f0| 75 73 65 20 4b 65 79 20 | 69 73 20 63 6c 69 63 6b |use Key |is click|
|00000300| 65 64 20 69 6e 20 74 68 | 65 20 63 65 6e 74 65 72 |ed in th|e center|
|00000310| 20 70 6f 72 74 69 6f 6e | 20 6f 66 20 61 20 6d 6f | portion| of a mo|
|00000320| 64 65 6c 69 6e 65 2e 22 | 29 0a 28 64 65 66 76 61 |deline."|).(defva|
|00000330| 72 20 68 6d 6f 75 73 65 | 2d 65 64 67 65 2d 73 65 |r hmouse|-edge-se|
|00000340| 6e 73 69 74 69 76 69 74 | 79 20 33 20 22 5c 0a 2a |nsitivit|y 3 "\.*|
|00000350| 4e 75 6d 62 65 72 20 6f | 66 20 63 68 61 72 61 63 |Number o|f charac|
|00000360| 74 65 72 73 20 66 72 6f | 6d 20 77 69 6e 64 6f 77 |ters fro|m window|
|00000370| 20 65 64 67 65 73 20 77 | 69 74 68 69 6e 20 77 68 | edges w|ithin wh|
|00000380| 69 63 68 20 61 20 63 6c | 69 63 6b 20 69 73 20 63 |ich a cl|ick is c|
|00000390| 6f 6e 73 69 64 65 72 65 | 64 20 61 74 20 61 6e 20 |onsidere|d at an |
|000003a0| 65 64 67 65 2e 22 29 0a | 28 64 65 66 76 61 72 20 |edge.").|(defvar |
|000003b0| 68 6d 6f 75 73 65 2d 73 | 69 64 65 2d 73 65 6e 73 |hmouse-s|ide-sens|
|000003c0| 69 74 69 76 69 74 79 20 | 28 62 79 74 65 2d 63 6f |itivity |(byte-co|
|000003d0| 64 65 20 22 08 ab 82 c1 | 87 c2 87 22 20 5b 68 79 |de "....|..." [hy|
|000003e0| 70 65 72 62 3a 65 6d 61 | 63 73 31 39 2d 70 20 32 |perb:ema|cs19-p 2|
|000003f0| 20 31 5d 20 31 29 20 22 | 5c 0a 2a 43 68 61 72 61 | 1] 1) "|\.*Chara|
|00000400| 63 74 65 72 73 20 69 6e | 20 65 69 74 68 65 72 20 |cters in| either |
|00000410| 64 69 72 65 63 74 69 6f | 6e 20 66 72 6f 6d 20 77 |directio|n from w|
|00000420| 69 6e 64 6f 77 20 73 69 | 64 65 20 77 69 74 68 69 |indow si|de withi|
|00000430| 6e 20 77 68 69 63 68 20 | 61 20 63 6c 69 63 6b 20 |n which |a click |
|00000440| 69 73 20 63 6f 6e 73 69 | 64 65 72 65 64 20 6f 6e |is consi|dered on|
|00000450| 20 74 68 65 20 73 69 64 | 65 2e 22 29 0a 28 64 65 | the sid|e.").(de|
|00000460| 66 76 61 72 20 68 6d 6f | 75 73 65 2d 78 2d 64 72 |fvar hmo|use-x-dr|
|00000470| 61 67 2d 73 65 6e 73 69 | 74 69 76 69 74 79 20 35 |ag-sensi|tivity 5|
|00000480| 20 22 5c 0a 2a 4e 75 6d | 62 65 72 20 6f 66 20 63 | "\.*Num|ber of c|
|00000490| 68 61 72 73 20 6d 6f 75 | 73 65 20 6d 75 73 74 20 |hars mou|se must |
|000004a0| 6d 6f 76 65 20 68 6f 72 | 69 7a 6f 6e 74 61 6c 6c |move hor|izontall|
|000004b0| 79 20 62 65 74 77 65 65 | 6e 20 64 65 70 72 65 73 |y betwee|n depres|
|000004c0| 73 2f 72 65 6c 65 61 73 | 65 20 74 6f 20 72 65 67 |s/releas|e to reg|
|000004d0| 69 73 74 65 72 20 61 20 | 68 6f 72 69 7a 6f 6e 74 |ister a |horizont|
|000004e0| 61 6c 20 64 72 61 67 2e | 22 29 0a 28 64 65 66 76 |al drag.|").(defv|
|000004f0| 61 72 20 68 6d 6f 75 73 | 65 2d 79 2d 64 72 61 67 |ar hmous|e-y-drag|
|00000500| 2d 73 65 6e 73 69 74 69 | 76 69 74 79 20 33 20 22 |-sensiti|vity 3 "|
|00000510| 5c 0a 2a 4e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |\.*Numbe|r of lin|
|00000520| 65 73 20 6d 6f 75 73 65 | 20 6d 75 73 74 20 6d 6f |es mouse| must mo|
|00000530| 76 65 20 76 65 72 74 69 | 63 61 6c 6c 79 20 62 65 |ve verti|cally be|
|00000540| 74 77 65 65 6e 20 64 65 | 70 72 65 73 73 2f 72 65 |tween de|press/re|
|00000550| 6c 65 61 73 65 20 74 6f | 20 72 65 67 69 73 74 65 |lease to| registe|
|00000560| 72 20 61 20 76 65 72 74 | 69 63 61 6c 20 64 72 61 |r a vert|ical dra|
|00000570| 67 2e 22 29 0a 28 64 65 | 66 76 61 72 20 68 6d 6f |g.").(de|fvar hmo|
|00000580| 75 73 65 2d 78 2d 64 69 | 61 67 6f 6e 61 6c 2d 73 |use-x-di|agonal-s|
|00000590| 65 6e 73 69 74 69 76 69 | 74 79 20 34 20 22 5c 0a |ensitivi|ty 4 "\.|
|000005a0| 2a 4e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 |*Number |of chars|
|000005b0| 20 6d 6f 75 73 65 20 6d | 75 73 74 20 6d 6f 76 65 | mouse m|ust move|
|000005c0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 6c 79 20 62 65 | horizon|tally be|
|000005d0| 74 77 65 65 6e 20 64 65 | 70 72 65 73 73 2f 72 65 |tween de|press/re|
|000005e0| 6c 65 61 73 65 20 74 6f | 20 72 65 67 69 73 74 65 |lease to| registe|
|000005f0| 72 20 61 20 64 69 61 67 | 6f 6e 61 6c 20 64 72 61 |r a diag|onal dra|
|00000600| 67 2e 22 29 0a 28 64 65 | 66 76 61 72 20 68 6d 6f |g.").(de|fvar hmo|
|00000610| 75 73 65 2d 79 2d 64 69 | 61 67 6f 6e 61 6c 2d 73 |use-y-di|agonal-s|
|00000620| 65 6e 73 69 74 69 76 69 | 74 79 20 33 20 22 5c 0a |ensitivi|ty 3 "\.|
|00000630| 2a 4e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 |*Number |of lines|
|00000640| 20 6d 6f 75 73 65 20 6d | 75 73 74 20 6d 6f 76 65 | mouse m|ust move|
|00000650| 20 76 65 72 74 69 63 61 | 6c 6c 79 20 62 65 74 77 | vertica|lly betw|
|00000660| 65 65 6e 20 64 65 70 72 | 65 73 73 2f 72 65 6c 65 |een depr|ess/rele|
|00000670| 61 73 65 20 74 6f 20 72 | 65 67 69 73 74 65 72 20 |ase to r|egister |
|00000680| 61 20 64 69 61 67 6f 6e | 61 6c 20 64 72 61 67 2e |a diagon|al drag.|
|00000690| 22 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |").(byte|-code ".|
|000006a0| c1 21 ac 86 c2 c3 21 88 | aa 8d c4 c5 c6 09 5c 22 |.!....!.|......\"|
|000006b0| 3e ac 85 c7 c8 09 5c 22 | 11 c0 87 22 20 5b 62 6f |>.....\"|..." [bo|
|000006c0| 75 6e 64 70 20 68 6d 6f | 75 73 65 2d 61 6c 69 73 |undp hmo|use-alis|
|000006d0| 74 20 65 72 72 6f 72 20 | 22 5c 22 68 75 69 2d 6d |t error |"\"hui-m|
|000006e0| 6f 64 65 6c 6e 2e 65 6c | 5c 22 3a 20 68 6d 6f 75 |odeln.el|\": hmou|
|000006f0| 73 65 2d 61 6c 69 73 74 | 20 6d 75 73 74 20 62 65 |se-alist| must be|
|00000700| 20 64 65 66 69 6e 65 64 | 20 62 65 66 6f 72 65 20 | defined| before |
|00000710| 6c 6f 61 64 69 6e 67 20 | 74 68 69 73 2e 22 20 68 |loading |this." h|
|00000720| 6d 6f 75 73 65 2d 64 72 | 61 67 2d 77 69 6e 64 6f |mouse-dr|ag-windo|
|00000730| 77 2d 73 69 64 65 20 6d | 61 70 63 61 72 20 23 5b |w-side m|apcar #[|
|00000740| 28 65 6c 74 29 20 22 08 | 40 89 19 3c ad 82 09 40 |(elt) ".|@..<...@|
|00000750| 29 87 22 20 5b 65 6c 74 | 20 70 72 65 64 5d 20 32 |)." [elt| pred] 2|
|00000760| 5d 20 61 70 70 65 6e 64 | 20 28 28 28 68 6d 6f 75 |] append| (((hmou|
|00000770| 73 65 2d 64 72 61 67 2d | 77 69 6e 64 6f 77 2d 73 |se-drag-|window-s|
|00000780| 69 64 65 29 20 28 68 6d | 6f 75 73 65 2d 72 65 73 |ide) (hm|ouse-res|
|00000790| 69 7a 65 2d 77 69 6e 64 | 6f 77 2d 73 69 64 65 29 |ize-wind|ow-side)|
|000007a0| 20 68 6d 6f 75 73 65 2d | 72 65 73 69 7a 65 2d 77 | hmouse-|resize-w|
|000007b0| 69 6e 64 6f 77 2d 73 69 | 64 65 20 27 61 73 73 69 |indow-si|de 'assi|
|000007c0| 73 74 29 20 28 28 73 65 | 74 71 20 68 6b 65 79 2d |st) ((se|tq hkey-|
|000007d0| 76 61 6c 75 65 20 28 61 | 6e 64 20 28 6e 6f 74 20 |value (a|nd (not |
|000007e0| 28 68 6d 6f 75 73 65 2d | 64 72 61 67 2d 62 65 74 |(hmouse-|drag-bet|
|000007f0| 77 65 65 6e 2d 77 69 6e | 64 6f 77 73 29 29 20 28 |ween-win|dows)) (|
|00000800| 68 6d 6f 75 73 65 2d 64 | 72 61 67 2d 68 6f 72 69 |hmouse-d|rag-hori|
|00000810| 7a 6f 6e 74 61 6c 6c 79 | 29 29 29 20 28 68 6d 6f |zontally|))) (hmo|
|00000820| 75 73 65 2d 68 6f 72 69 | 7a 6f 6e 74 61 6c 29 20 |use-hori|zontal) |
|00000830| 68 6d 6f 75 73 65 2d 68 | 6f 72 69 7a 6f 6e 74 61 |hmouse-h|orizonta|
|00000840| 6c 2d 61 73 73 69 73 74 | 29 20 28 28 68 6d 6f 75 |l-assist|) ((hmou|
|00000850| 73 65 2d 6d 6f 64 65 6c | 69 6e 65 2d 64 65 70 72 |se-model|ine-depr|
|00000860| 65 73 73 29 20 28 61 63 | 74 69 6f 6e 2d 6b 65 79 |ess) (ac|tion-key|
|00000870| 2d 6d 6f 64 65 6c 69 6e | 65 29 20 61 73 73 69 73 |-modelin|e) assis|
|00000880| 74 2d 6b 65 79 2d 6d 6f | 64 65 6c 69 6e 65 29 20 |t-key-mo|deline) |
|00000890| 28 28 68 6d 6f 75 73 65 | 2d 64 72 61 67 2d 62 65 |((hmouse|-drag-be|
|000008a0| 74 77 65 65 6e 2d 77 69 | 6e 64 6f 77 73 29 20 28 |tween-wi|ndows) (|
|000008b0| 68 75 69 3a 6c 69 6e 6b | 2d 64 69 72 65 63 74 6c |hui:link|-directl|
|000008c0| 79 29 20 68 6d 6f 75 73 | 65 2d 73 77 61 70 2d 62 |y) hmous|e-swap-b|
|000008d0| 75 66 66 65 72 73 20 27 | 61 73 73 69 73 74 29 20 |uffers '|assist) |
|000008e0| 28 28 68 6d 6f 75 73 65 | 2d 64 72 61 67 2d 76 65 |((hmouse|-drag-ve|
|000008f0| 72 74 69 63 61 6c 6c 79 | 29 20 28 73 6d 2d 73 70 |rtically|) (sm-sp|
|00000900| 6c 69 74 2d 77 69 6e 64 | 6f 77 2d 68 6f 72 69 7a |lit-wind|ow-horiz|
|00000910| 6f 6e 74 61 6c 6c 79 29 | 20 73 6d 2d 73 70 6c 69 |ontally)| sm-spli|
|00000920| 74 2d 77 69 6e 64 6f 77 | 2d 68 6f 72 69 7a 6f 6e |t-window|-horizon|
|00000930| 74 61 6c 6c 79 29 20 28 | 28 73 65 74 71 20 68 6b |tally) (|(setq hk|
|00000940| 65 79 2d 76 61 6c 75 65 | 20 28 68 6d 6f 75 73 65 |ey-value| (hmouse|
|00000950| 2d 64 72 61 67 2d 64 69 | 61 67 6f 6e 61 6c 6c 79 |-drag-di|agonally|
|00000960| 29 29 20 28 77 63 6f 6e | 66 69 67 2d 72 69 6e 67 |)) (wcon|fig-ring|
|00000970| 2d 73 61 76 65 29 20 77 | 63 6f 6e 66 69 67 2d 79 |-save) w|config-y|
|00000980| 61 6e 6b 2d 70 6f 70 20 | 28 70 72 65 66 69 78 2d |ank-pop |(prefix-|
|00000990| 6e 75 6d 65 72 69 63 2d | 76 61 6c 75 65 20 63 75 |numeric-|value cu|
|000009a0| 72 72 65 6e 74 2d 70 72 | 65 66 69 78 2d 61 72 67 |rrent-pr|efix-arg|
|000009b0| 29 29 29 5d 20 34 29 0a | 28 66 73 65 74 20 27 68 |)))] 4).|(fset 'h|
|000009c0| 6d 6f 75 73 65 2d 64 72 | 61 67 2d 62 65 74 77 65 |mouse-dr|ag-betwe|
|000009d0| 65 6e 2d 77 69 6e 64 6f | 77 73 20 23 5b 6e 69 6c |en-windo|ws #[nil|
|000009e0| 20 22 08 ab 8b 09 ad 92 | 5c 6e ad 8f 09 5c 6e 3d | "......|\n...\n=|
|000009f0| 3f 87 0b ad 87 0c ad 84 | 0b 0c 3d 3f 87 22 20 5b |?.......|..=?." [|
|00000a00| 61 73 73 69 73 74 2d 66 | 6c 61 67 20 61 73 73 69 |assist-f|lag assi|
|00000a10| 73 74 2d 6b 65 79 2d 64 | 65 70 72 65 73 73 2d 77 |st-key-d|epress-w|
|00000a20| 69 6e 64 6f 77 20 61 73 | 73 69 73 74 2d 6b 65 79 |indow as|sist-key|
|00000a30| 2d 72 65 6c 65 61 73 65 | 2d 77 69 6e 64 6f 77 20 |-release|-window |
|00000a40| 61 63 74 69 6f 6e 2d 6b | 65 79 2d 64 65 70 72 65 |action-k|ey-depre|
|00000a50| 73 73 2d 77 69 6e 64 6f | 77 20 61 63 74 69 6f 6e |ss-windo|w action|
|00000a60| 2d 6b 65 79 2d 72 65 6c | 65 61 73 65 2d 77 69 6e |-key-rel|ease-win|
|00000a70| 64 6f 77 5d 20 32 20 22 | 5c 0a 52 65 74 75 72 6e |dow] 2 "|\.Return|
|00000a80| 73 20 6e 6f 6e 2d 6e 69 | 6c 20 69 66 20 6c 61 73 |s non-ni|l if las|
|00000a90| 74 20 41 63 74 69 6f 6e | 20 4b 65 79 20 64 65 70 |t Action| Key dep|
|00000aa0| 72 65 73 73 20 61 6e 64 | 20 72 65 6c 65 61 73 65 |ress and| release|
|00000ab0| 20 77 65 72 65 20 69 6e | 20 64 69 66 66 65 72 65 | were in| differe|
|00000ac0| 6e 74 20 77 69 6e 64 6f | 77 73 2e 0a 49 66 20 66 |nt windo|ws..If f|
|00000ad0| 72 65 65 20 76 61 72 69 | 61 62 6c 65 20 27 61 73 |ree vari|able 'as|
|00000ae0| 73 69 73 74 2d 66 6c 61 | 67 27 20 69 73 20 6e 6f |sist-fla|g' is no|
|00000af0| 6e 2d 6e 69 6c 2c 20 75 | 73 65 73 20 41 73 73 69 |n-nil, u|ses Assi|
|00000b00| 73 74 20 4b 65 79 2e 22 | 5d 29 0a 28 66 73 65 74 |st Key."|]).(fset|
|00000b10| 20 27 68 6d 6f 75 73 65 | 2d 64 72 61 67 2d 64 69 | 'hmouse|-drag-di|
|00000b20| 61 67 6f 6e 61 6c 6c 79 | 20 23 5b 6e 69 6c 20 22 |agonally| #[nil "|
|00000b30| c0 89 89 89 19 1a 1b 1c | 0d ab 96 c6 0e 07 21 14 |........|......!.|
|00000b40| c6 0e 08 21 13 c9 0e 07 | 21 12 c9 0e 08 21 11 aa |...!....|!....!..|
|00000b50| 94 c6 0e 5c 6e 21 14 c6 | 0e 0b 21 13 c9 0e 5c 6e |...\n!..|..!...\n|
|00000b60| 21 12 c9 0e 0b 21 11 0c | ad ba 0b ad b7 5c 6e ad |!....!..|.....\n.|
|00000b70| b4 09 ad b1 0c 0b 5d 0c | 0b 5e 5a 0e 0c 59 ad a5 |......].|.^Z..Y..|
|00000b80| 5c 6e 09 5d 5c 6e 09 5e | 5a 0e 0d 59 ad 99 0c 0b |\n.]\n.^|Z..Y....|
|00000b90| 57 ab 8b 5c 6e 09 57 ab | 83 ce aa 8c cf aa 89 5c |W..\n.W.|.......\|
|00000ba0| 6e 09 57 ab 83 d0 aa 81 | d1 2c 87 22 20 5b 6e 69 |n.W.....|.,." [ni|
|00000bb0| 6c 20 6c 61 73 74 2d 72 | 65 6c 65 61 73 65 2d 79 |l last-r|elease-y|
|00000bc0| 20 6c 61 73 74 2d 64 65 | 70 72 65 73 73 2d 79 20 | last-de|press-y |
|00000bd0| 6c 61 73 74 2d 72 65 6c | 65 61 73 65 2d 78 20 6c |last-rel|ease-x l|
|00000be0| 61 73 74 2d 64 65 70 72 | 65 73 73 2d 78 20 61 73 |ast-depr|ess-x as|
|00000bf0| 73 69 73 74 2d 66 6c 61 | 67 20 68 6d 6f 75 73 65 |sist-fla|g hmouse|
|00000c00| 2d 78 2d 63 6f 6f 72 64 | 20 61 73 73 69 73 74 2d |-x-coord| assist-|
|00000c10| 6b 65 79 2d 64 65 70 72 | 65 73 73 2d 61 72 67 73 |key-depr|ess-args|
|00000c20| 20 61 73 73 69 73 74 2d | 6b 65 79 2d 72 65 6c 65 | assist-|key-rele|
|00000c30| 61 73 65 2d 61 72 67 73 | 20 68 6d 6f 75 73 65 2d |ase-args| hmouse-|
|00000c40| 79 2d 63 6f 6f 72 64 20 | 61 63 74 69 6f 6e 2d 6b |y-coord |action-k|
|00000c50| 65 79 2d 64 65 70 72 65 | 73 73 2d 61 72 67 73 20 |ey-depre|ss-args |
|00000c60| 61 63 74 69 6f 6e 2d 6b | 65 79 2d 72 65 6c 65 61 |action-k|ey-relea|
|00000c70| 73 65 2d 61 72 67 73 20 | 68 6d 6f 75 73 65 2d 78 |se-args |hmouse-x|
|00000c80| 2d 64 69 61 67 6f 6e 61 | 6c 2d 73 65 6e 73 69 74 |-diagona|l-sensit|
|00000c90| 69 76 69 74 79 20 68 6d | 6f 75 73 65 2d 79 2d 64 |ivity hm|ouse-y-d|
|00000ca0| 69 61 67 6f 6e 61 6c 2d | 73 65 6e 73 69 74 69 76 |iagonal-|sensitiv|
|00000cb0| 69 74 79 20 73 6f 75 74 | 68 65 61 73 74 20 6e 6f |ity sout|heast no|
|00000cc0| 72 74 68 65 61 73 74 20 | 73 6f 75 74 68 77 65 73 |rtheast |southwes|
|00000cd0| 74 20 6e 6f 72 74 68 77 | 65 73 74 5d 20 34 20 22 |t northw|est] 4 "|
|00000ce0| 5c 0a 52 65 74 75 72 6e | 73 20 6e 6f 6e 2d 6e 69 |\.Return|s non-ni|
|00000cf0| 6c 20 69 66 66 20 6c 61 | 73 74 20 41 63 74 69 6f |l iff la|st Actio|
|00000d00| 6e 20 4b 65 79 20 75 73 | 65 20 77 61 73 20 61 20 |n Key us|e was a |
|00000d10| 64 69 61 67 6f 6e 61 6c | 20 64 72 61 67 20 77 69 |diagonal| drag wi|
|00000d20| 74 68 69 6e 20 61 20 73 | 69 6e 67 6c 65 20 77 69 |thin a s|ingle wi|
|00000d30| 6e 64 6f 77 2e 0a 49 66 | 20 66 72 65 65 20 76 61 |ndow..If| free va|
|00000d40| 72 69 61 62 6c 65 20 27 | 61 73 73 69 73 74 2d 66 |riable '|assist-f|
|00000d50| 6c 61 67 27 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |lag' is |non-nil,|
|00000d60| 20 75 73 65 73 20 41 73 | 73 69 73 74 20 4b 65 79 | uses As|sist Key|
|00000d70| 2e 0a 56 61 6c 75 65 20 | 72 65 74 75 72 6e 65 64 |..Value |returned|
|00000d80| 20 69 73 20 6e 69 6c 20 | 69 66 20 6e 6f 74 20 61 | is nil |if not a|
|00000d90| 20 64 69 61 67 6f 6e 61 | 6c 20 64 72 61 67 2c 20 | diagona|l drag, |
|00000da0| 6f 72 20 6f 6e 65 20 6f | 66 20 74 68 65 20 66 6f |or one o|f the fo|
|00000db0| 6c 6c 6f 77 69 6e 67 20 | 73 79 6d 62 6f 6c 73 0a |llowing |symbols.|
|00000dc0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 74 68 65 |dependin|g on the|
|00000dd0| 20 64 69 72 65 63 74 69 | 6f 6e 20 6f 66 20 74 68 | directi|on of th|
|00000de0| 65 20 64 72 61 67 3a 20 | 73 6f 75 74 68 65 61 73 |e drag: |southeas|
|00000df0| 74 2c 20 73 6f 75 74 68 | 77 65 73 74 2c 20 6e 6f |t, south|west, no|
|00000e00| 72 74 68 77 65 73 74 2c | 20 6e 6f 72 74 68 65 61 |rthwest,| northea|
|00000e10| 73 74 2e 22 5d 29 0a 28 | 66 73 65 74 20 27 68 6d |st."]).(|fset 'hm|
|00000e20| 6f 75 73 65 2d 64 72 61 | 67 2d 68 6f 72 69 7a 6f |ouse-dra|g-horizo|
|00000e30| 6e 74 61 6c 6c 79 20 23 | 5b 6e 69 6c 20 22 c0 89 |ntally #|[nil "..|
|00000e40| 89 89 19 1a 1b 1c 0d ab | 96 c6 0e 07 21 14 c6 0e |........|....!...|
|00000e50| 08 21 13 c9 0e 07 21 12 | c9 0e 08 21 11 aa 94 c6 |.!....!.|...!....|
|00000e60| 0e 5c 6e 21 14 c6 0e 0b | 21 13 c9 0e 5c 6e 21 12 |.\n!....|!...\n!.|
|00000e70| c9 0e 0b 21 11 0c ad aa | 0b ad a7 5c 6e ad a4 09 |...!....|...\n...|
|00000e80| ad a1 0c 0b 5d 0c 0b 5e | 5a 0e 0c 59 ad 95 5c 6e |....]..^|Z..Y..\n|
|00000e90| 09 5d 5c 6e 09 5e 5a 0e | 0d 57 ad 89 0c 0b 57 ab |.]\n.^Z.|.W....W.|
|00000ea0| 83 ce aa 81 cf 2c 87 22 | 20 5b 6e 69 6c 20 6c 61 |.....,."| [nil la|
|00000eb0| 73 74 2d 72 65 6c 65 61 | 73 65 2d 79 20 6c 61 73 |st-relea|se-y las|
|00000ec0| 74 2d 64 65 70 72 65 73 | 73 2d 79 20 6c 61 73 74 |t-depres|s-y last|
|00000ed0| 2d 72 65 6c 65 61 73 65 | 2d 78 20 6c 61 73 74 2d |-release|-x last-|
|00000ee0| 64 65 70 72 65 73 73 2d | 78 20 61 73 73 69 73 74 |depress-|x assist|
|00000ef0| 2d 66 6c 61 67 20 68 6d | 6f 75 73 65 2d 78 2d 63 |-flag hm|ouse-x-c|
|00000f00| 6f 6f 72 64 20 61 73 73 | 69 73 74 2d 6b 65 79 2d |oord ass|ist-key-|
|00000f10| 64 65 70 72 65 73 73 2d | 61 72 67 73 20 61 73 73 |depress-|args ass|
|00000f20| 69 73 74 2d 6b 65 79 2d | 72 65 6c 65 61 73 65 2d |ist-key-|release-|
|00000f30| 61 72 67 73 20 68 6d 6f | 75 73 65 2d 79 2d 63 6f |args hmo|use-y-co|
|00000f40| 6f 72 64 20 61 63 74 69 | 6f 6e 2d 6b 65 79 2d 64 |ord acti|on-key-d|
|00000f50| 65 70 72 65 73 73 2d 61 | 72 67 73 20 61 63 74 69 |epress-a|rgs acti|
|00000f60| 6f 6e 2d 6b 65 79 2d 72 | 65 6c 65 61 73 65 2d 61 |on-key-r|elease-a|
|00000f70| 72 67 73 20 68 6d 6f 75 | 73 65 2d 78 2d 64 72 61 |rgs hmou|se-x-dra|
|00000f80| 67 2d 73 65 6e 73 69 74 | 69 76 69 74 79 20 68 6d |g-sensit|ivity hm|
|00000f90| 6f 75 73 65 2d 79 2d 64 | 72 61 67 2d 73 65 6e 73 |ouse-y-d|rag-sens|
|00000fa0| 69 74 69 76 69 74 79 20 | 72 69 67 68 74 20 6c 65 |itivity |right le|
|00000fb0| 66 74 5d 20 34 20 22 5c | 0a 52 65 74 75 72 6e 73 |ft] 4 "\|.Returns|
|00000fc0| 20 6e 6f 6e 2d 6e 69 6c | 20 69 66 66 20 6c 61 73 | non-nil| iff las|
|00000fd0| 74 20 41 63 74 69 6f 6e | 20 4b 65 79 20 75 73 65 |t Action| Key use|
|00000fe0| 20 77 61 73 20 61 20 68 | 6f 72 69 7a 6f 6e 74 61 | was a h|orizonta|
|00000ff0| 6c 20 64 72 61 67 20 77 | 69 74 68 69 6e 20 61 20 |l drag w|ithin a |
|00001000| 73 69 6e 67 6c 65 20 77 | 69 6e 64 6f 77 2e 0a 49 |single w|indow..I|
|00001010| 66 20 66 72 65 65 20 76 | 61 72 69 61 62 6c 65 20 |f free v|ariable |
|00001020| 27 61 73 73 69 73 74 2d | 66 6c 61 67 27 20 69 73 |'assist-|flag' is|
|00001030| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 75 73 65 73 20 41 | non-nil|, uses A|
|00001040| 73 73 69 73 74 20 4b 65 | 79 2e 0a 56 61 6c 75 65 |ssist Ke|y..Value|
|00001050| 20 72 65 74 75 72 6e 65 | 64 20 69 73 20 6e 69 6c | returne|d is nil|
|00001060| 20 69 66 20 6e 6f 74 20 | 61 20 68 6f 72 69 7a 6f | if not |a horizo|
|00001070| 6e 74 61 6c 20 64 72 61 | 67 2c 20 27 6c 65 66 74 |ntal dra|g, 'left|
|00001080| 20 69 66 20 64 72 61 67 | 20 6d 6f 76 65 64 20 6c | if drag| moved l|
|00001090| 65 66 74 20 6f 72 0a 27 | 72 69 67 68 74 20 6f 74 |eft or.'|right ot|
|000010a0| 68 65 72 77 69 73 65 2e | 22 5d 29 0a 28 66 73 65 |herwise.|"]).(fse|
|000010b0| 74 20 27 68 6d 6f 75 73 | 65 2d 64 72 61 67 2d 76 |t 'hmous|e-drag-v|
|000010c0| 65 72 74 69 63 61 6c 6c | 79 20 23 5b 6e 69 6c 20 |erticall|y #[nil |
|000010d0| 22 c0 89 89 89 19 1a 1b | 1c 0d ab 96 c6 0e 07 21 |".......|.......!|
|000010e0| 14 c6 0e 08 21 13 c9 0e | 07 21 12 c9 0e 08 21 11 |....!...|.!....!.|
|000010f0| aa 94 c6 0e 5c 6e 21 14 | c6 0e 0b 21 13 c9 0e 5c |....\n!.|...!...\|
|00001100| 6e 21 12 c9 0e 0b 21 11 | 0c ad aa 0b ad a7 5c 6e |n!....!.|......\n|
|00001110| ad a4 09 ad a1 5c 6e 09 | 5d 5c 6e 09 5e 5a 0e 0c |.....\n.|]\n.^Z..|
|00001120| 59 ad 95 0c 0b 5d 0c 0b | 5e 5a 0e 0d 58 ad 89 5c |Y....]..|^Z..X..\|
|00001130| 6e 09 57 ab 83 ce aa 81 | cf 2c 87 22 20 5b 6e 69 |n.W.....|.,." [ni|
|00001140| 6c 20 6c 61 73 74 2d 72 | 65 6c 65 61 73 65 2d 79 |l last-r|elease-y|
|00001150| 20 6c 61 73 74 2d 64 65 | 70 72 65 73 73 2d 79 20 | last-de|press-y |
|00001160| 6c 61 73 74 2d 72 65 6c | 65 61 73 65 2d 78 20 6c |last-rel|ease-x l|
|00001170| 61 73 74 2d 64 65 70 72 | 65 73 73 2d 78 20 61 73 |ast-depr|ess-x as|
|00001180| 73 69 73 74 2d 66 6c 61 | 67 20 68 6d 6f 75 73 65 |sist-fla|g hmouse|
|00001190| 2d 78 2d 63 6f 6f 72 64 | 20 61 73 73 69 73 74 2d |-x-coord| assist-|
|000011a0| 6b 65 79 2d 64 65 70 72 | 65 73 73 2d 61 72 67 73 |key-depr|ess-args|
|000011b0| 20 61 73 73 69 73 74 2d | 6b 65 79 2d 72 65 6c 65 | assist-|key-rele|
|000011c0| 61 73 65 2d 61 72 67 73 | 20 68 6d 6f 75 73 65 2d |ase-args| hmouse-|
|000011d0| 79 2d 63 6f 6f 72 64 20 | 61 63 74 69 6f 6e 2d 6b |y-coord |action-k|
|000011e0| 65 79 2d 64 65 70 72 65 | 73 73 2d 61 72 67 73 20 |ey-depre|ss-args |
|000011f0| 61 63 74 69 6f 6e 2d 6b | 65 79 2d 72 65 6c 65 61 |action-k|ey-relea|
|00001200| 73 65 2d 61 72 67 73 20 | 68 6d 6f 75 73 65 2d 79 |se-args |hmouse-y|
|00001210| 2d 64 72 61 67 2d 73 65 | 6e 73 69 74 69 76 69 74 |-drag-se|nsitivit|
|00001220| 79 20 68 6d 6f 75 73 65 | 2d 78 2d 64 72 61 67 2d |y hmouse|-x-drag-|
|00001230| 73 65 6e 73 69 74 69 76 | 69 74 79 20 64 6f 77 6e |sensitiv|ity down|
|00001240| 20 75 70 5d 20 34 20 22 | 5c 0a 52 65 74 75 72 6e | up] 4 "|\.Return|
|00001250| 73 20 6e 6f 6e 2d 6e 69 | 6c 20 69 66 66 20 6c 61 |s non-ni|l iff la|
|00001260| 73 74 20 41 63 74 69 6f | 6e 20 4b 65 79 20 75 73 |st Actio|n Key us|
|00001270| 65 20 77 61 73 20 61 20 | 76 65 72 74 69 63 61 6c |e was a |vertical|
|00001280| 20 64 72 61 67 20 77 69 | 74 68 69 6e 20 61 20 73 | drag wi|thin a s|
|00001290| 69 6e 67 6c 65 20 77 69 | 6e 64 6f 77 2e 0a 49 66 |ingle wi|ndow..If|
|000012a0| 20 66 72 65 65 20 76 61 | 72 69 61 62 6c 65 20 27 | free va|riable '|
|000012b0| 61 73 73 69 73 74 2d 66 | 6c 61 67 27 20 69 73 20 |assist-f|lag' is |
|000012c0| 6e 6f 6e 2d 6e 69 6c 2c | 20 75 73 65 73 20 41 73 |non-nil,| uses As|
|000012d0| 73 69 73 74 20 4b 65 79 | 2e 0a 56 61 6c 75 65 20 |sist Key|..Value |
|000012e0| 72 65 74 75 72 6e 65 64 | 20 69 73 20 6e 69 6c 20 |returned| is nil |
|000012f0| 69 66 20 6e 6f 74 20 61 | 20 76 65 72 74 69 63 61 |if not a| vertica|
|00001300| 6c 20 6c 69 6e 65 20 64 | 72 61 67 2c 20 27 75 70 |l line d|rag, 'up|
|00001310| 20 69 66 20 64 72 61 67 | 20 6d 6f 76 65 64 20 75 | if drag| moved u|
|00001320| 70 20 6f 72 0a 27 64 6f | 77 6e 20 6f 74 68 65 72 |p or.'do|wn other|
|00001330| 77 69 73 65 2e 22 5d 29 | 0a 28 62 79 74 65 2d 63 |wise."])|.(byte-c|
|00001340| 6f 64 65 20 22 c0 c1 21 | ac 84 c1 c2 4d 88 c0 87 |ode "..!|....M...|
|00001350| 22 20 5b 66 62 6f 75 6e | 64 70 20 61 62 73 20 23 |" [fboun|dp abs #|
|00001360| 5b 28 6e 75 6d 62 65 72 | 29 20 22 08 c1 57 ab 83 |[(number|) "..W..|
|00001370| 08 5b 87 08 87 22 20 5b | 6e 75 6d 62 65 72 20 30 |.[..." [|number 0|
|00001380| 5d 20 32 20 22 52 65 74 | 75 72 6e 20 74 68 65 20 |] 2 "Ret|urn the |
|00001390| 61 62 73 6f 6c 75 74 65 | 20 76 61 6c 75 65 20 6f |absolute| value o|
|000013a0| 66 20 4e 55 4d 42 45 52 | 2e 22 5d 5d 20 32 29 0a |f NUMBER|."]] 2).|
|000013b0| 28 66 73 65 74 20 27 68 | 6d 6f 75 73 65 2d 64 72 |(fset 'h|mouse-dr|
|000013c0| 61 67 2d 77 69 6e 64 6f | 77 2d 73 69 64 65 20 23 |ag-windo|w-side #|
|000013d0| 5b 6e 69 6c 20 22 08 ab | 82 c1 87 5c 6e ad df 0b |[nil "..|...\n...|
|000013e0| ab 83 0c aa 81 0d 1e 06 | 0b ab 84 0e 07 aa 82 0e |........|........|
|000013f0| 08 1e 09 ca 0e 06 21 89 | 1e 0b ad 87 cc cd 0e 0b |......!.|........|
|00001400| 21 38 53 1e 0e cf 0e 06 | 21 1e 10 cf 0e 09 21 1e |!8S.....|!.....!.|
|00001410| 11 0e 10 ad a7 0e 11 ad | a3 0e 0e ad 9f 0e 10 0e |........|........|
|00001420| 11 55 3f ad 97 0e 0e 54 | d2 20 55 3f ad 8e 0e 10 |.U?....T|. U?....|
|00001430| 0e 0e 5a 0e 0e 0e 10 5a | 5d 0e 13 58 2e 06 87 22 |..Z....Z|]..X..."|
|00001440| 20 5b 68 79 70 65 72 62 | 3a 78 65 6d 61 63 73 2d | [hyperb|:xemacs-|
|00001450| 70 20 6e 69 6c 20 68 79 | 70 65 72 62 3a 77 69 6e |p nil hy|perb:win|
|00001460| 64 6f 77 2d 73 79 73 74 | 65 6d 20 61 73 73 69 73 |dow-syst|em assis|
|00001470| 74 2d 66 6c 61 67 20 61 | 73 73 69 73 74 2d 6b 65 |t-flag a|ssist-ke|
|00001480| 79 2d 64 65 70 72 65 73 | 73 2d 61 72 67 73 20 61 |y-depres|s-args a|
|00001490| 63 74 69 6f 6e 2d 6b 65 | 79 2d 64 65 70 72 65 73 |ction-ke|y-depres|
|000014a0| 73 2d 61 72 67 73 20 64 | 65 70 72 65 73 73 2d 61 |s-args d|epress-a|
|000014b0| 72 67 73 20 61 73 73 69 | 73 74 2d 6b 65 79 2d 72 |rgs assi|st-key-r|
|000014c0| 65 6c 65 61 73 65 2d 61 | 72 67 73 20 61 63 74 69 |elease-a|rgs acti|
|000014d0| 6f 6e 2d 6b 65 79 2d 72 | 65 6c 65 61 73 65 2d 61 |on-key-r|elease-a|
|000014e0| 72 67 73 20 72 65 6c 65 | 61 73 65 2d 61 72 67 73 |rgs rele|ase-args|
|000014f0| 20 73 6d 61 72 74 2d 77 | 69 6e 64 6f 77 2d 6f 66 | smart-w|indow-of|
|00001500| 2d 63 6f 6f 72 64 73 20 | 77 20 32 20 77 69 6e 64 |-coords |w 2 wind|
|00001510| 6f 77 2d 65 64 67 65 73 | 20 73 69 64 65 2d 6c 6e |ow-edges| side-ln|
|00001520| 20 68 6d 6f 75 73 65 2d | 78 2d 63 6f 6f 72 64 20 | hmouse-|x-coord |
|00001530| 6c 61 73 74 2d 70 72 65 | 73 73 2d 78 20 6c 61 73 |last-pre|ss-x las|
|00001540| 74 2d 72 65 6c 65 61 73 | 65 2d 78 20 66 72 61 6d |t-releas|e-x fram|
|00001550| 65 2d 77 69 64 74 68 20 | 68 6d 6f 75 73 65 2d 73 |e-width |hmouse-s|
|00001560| 69 64 65 2d 73 65 6e 73 | 69 74 69 76 69 74 79 5d |ide-sens|itivity]|
|00001570| 20 34 20 22 5c 0a 52 65 | 74 75 72 6e 73 20 6e 6f | 4 "\.Re|turns no|
|00001580| 6e 2d 6e 69 6c 20 69 66 | 20 41 63 74 69 6f 6e 20 |n-nil if| Action |
|00001590| 4b 65 79 20 77 61 73 20 | 64 72 61 67 67 65 64 20 |Key was |dragged |
|000015a0| 66 72 6f 6d 20 61 20 77 | 69 6e 64 6f 77 20 73 69 |from a w|indow si|
|000015b0| 64 65 20 64 69 76 69 64 | 65 72 2e 0a 49 66 20 66 |de divid|er..If f|
|000015c0| 72 65 65 20 76 61 72 69 | 61 62 6c 65 20 27 61 73 |ree vari|able 'as|
|000015d0| 73 69 73 74 2d 66 6c 61 | 67 27 20 69 73 20 6e 6f |sist-fla|g' is no|
|000015e0| 6e 2d 6e 69 6c 2c 20 75 | 73 65 73 20 41 73 73 69 |n-nil, u|ses Assi|
|000015f0| 73 74 20 4b 65 79 2e 22 | 5d 29 0a 28 66 73 65 74 |st Key."|]).(fset|
|00001600| 20 27 73 6d 2d 73 70 6c | 69 74 2d 77 69 6e 64 6f | 'sm-spl|it-windo|
|00001610| 77 2d 68 6f 72 69 7a 6f | 6e 74 61 6c 6c 79 20 23 |w-horizo|ntally #|
|00001620| 5b 6e 69 6c 20 22 c0 19 | c2 c3 c4 8f 29 87 22 20 |[nil "..|....)." |
|00001630| 5b 35 20 77 69 6e 64 6f | 77 2d 6d 69 6e 2d 77 69 |[5 windo|w-min-wi|
|00001640| 64 74 68 20 6e 69 6c 20 | 28 73 70 6c 69 74 2d 77 |dth nil |(split-w|
|00001650| 69 6e 64 6f 77 2d 68 6f | 72 69 7a 6f 6e 74 61 6c |indow-ho|rizontal|
|00001660| 6c 79 20 6e 69 6c 29 20 | 28 28 65 72 72 6f 72 20 |ly nil) |((error |
|00001670| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 20 88 c1 |(byte-co|de ". ..|
|00001680| c2 21 87 22 20 5b 62 65 | 65 70 20 6d 65 73 73 61 |.!." [be|ep messa|
|00001690| 67 65 20 22 28 73 6d 2d | 73 70 6c 69 74 2d 77 69 |ge "(sm-|split-wi|
|000016a0| 6e 64 6f 77 2d 68 6f 72 | 69 7a 6f 6e 74 61 6c 6c |ndow-hor|izontall|
|000016b0| 79 29 3a 20 43 61 6e 27 | 74 20 73 70 6c 69 74 20 |y): Can'|t split |
|000016c0| 77 69 6e 64 6f 77 20 66 | 75 72 74 68 65 72 2e 22 |window f|urther."|
|000016d0| 5d 20 32 29 29 29 5d 20 | 33 20 22 5c 0a 53 70 6c |] 2)))] |3 "\.Spl|
|000016e0| 69 74 73 20 63 75 72 72 | 65 6e 74 20 77 69 6e 64 |its curr|ent wind|
|000016f0| 6f 77 20 69 6e 20 74 77 | 6f 20 65 76 65 6e 6c 79 |ow in tw|o evenly|
|00001700| 2c 20 73 69 64 65 20 62 | 79 20 73 69 64 65 2e 0a |, side b|y side..|
|00001710| 42 65 65 70 73 20 61 6e | 64 20 70 72 69 6e 74 73 |Beeps an|d prints|
|00001720| 20 6d 65 73 73 61 67 65 | 20 69 66 20 63 61 6e 27 | message| if can'|
|00001730| 74 20 73 70 6c 69 74 20 | 77 69 6e 64 6f 77 20 66 |t split |window f|
|00001740| 75 72 74 68 65 72 2e 22 | 20 6e 69 6c 5d 29 0a 28 |urther."| nil]).(|
|00001750| 66 73 65 74 20 27 73 6d | 2d 73 70 6c 69 74 2d 77 |fset 'sm|-split-w|
|00001760| 69 6e 64 6f 77 2d 76 65 | 72 74 69 63 61 6c 6c 79 |indow-ve|rtically|
|00001770| 20 23 5b 6e 69 6c 20 22 | c0 19 c2 c3 c4 8f 29 87 | #[nil "|......).|
|00001780| 22 20 5b 32 20 77 69 6e | 64 6f 77 2d 6d 69 6e 2d |" [2 win|dow-min-|
|00001790| 68 65 69 67 68 74 20 6e | 69 6c 20 28 62 79 74 65 |height n|il (byte|
|000017a0| 2d 63 6f 64 65 20 22 c0 | c1 21 ab 84 c1 c2 21 87 |-code ".|.!....!.|
|000017b0| c3 c2 21 87 22 20 5b 66 | 62 6f 75 6e 64 70 20 73 |..!." [f|boundp s|
|000017c0| 70 6c 69 74 2d 77 69 6e | 64 6f 77 2d 71 75 69 65 |plit-win|dow-quie|
|000017d0| 74 6c 79 20 6e 69 6c 20 | 73 70 6c 69 74 2d 77 69 |tly nil |split-wi|
|000017e0| 6e 64 6f 77 2d 76 65 72 | 74 69 63 61 6c 6c 79 5d |ndow-ver|tically]|
|000017f0| 20 32 29 20 28 28 65 72 | 72 6f 72 20 28 62 79 74 | 2) ((er|ror (byt|
|00001800| 65 2d 63 6f 64 65 20 22 | c0 20 88 c1 c2 21 87 22 |e-code "|. ...!."|
|00001810| 20 5b 62 65 65 70 20 6d | 65 73 73 61 67 65 20 22 | [beep m|essage "|
|00001820| 28 73 6d 2d 73 70 6c 69 | 74 2d 77 69 6e 64 6f 77 |(sm-spli|t-window|
|00001830| 2d 76 65 72 74 69 63 61 | 6c 6c 79 29 3a 20 43 61 |-vertica|lly): Ca|
|00001840| 6e 27 74 20 73 70 6c 69 | 74 20 77 69 6e 64 6f 77 |n't spli|t window|
|00001850| 20 66 75 72 74 68 65 72 | 2e 22 5d 20 32 29 29 29 | further|."] 2)))|
|00001860| 5d 20 33 20 22 5c 0a 53 | 70 6c 69 74 73 20 63 75 |] 3 "\.S|plits cu|
|00001870| 72 72 65 6e 74 20 77 69 | 6e 64 6f 77 20 69 6e 20 |rrent wi|ndow in |
|00001880| 74 77 6f 20 65 76 65 6e | 6c 79 2c 20 6f 6e 65 20 |two even|ly, one |
|00001890| 61 62 6f 76 65 20 74 68 | 65 20 6f 74 68 65 72 2e |above th|e other.|
|000018a0| 0a 42 65 65 70 73 20 61 | 6e 64 20 70 72 69 6e 74 |.Beeps a|nd print|
|000018b0| 73 20 6d 65 73 73 61 67 | 65 20 69 66 20 63 61 6e |s messag|e if can|
|000018c0| 27 74 20 73 70 6c 69 74 | 20 77 69 6e 64 6f 77 20 |'t split| window |
|000018d0| 66 75 72 74 68 65 72 2e | 22 20 6e 69 6c 5d 29 0a |further.|" nil]).|
|000018e0| 28 66 73 65 74 20 27 73 | 6d 61 72 74 2d 63 6f 6f |(fset 's|mart-coo|
|000018f0| 72 64 73 2d 69 6e 2d 77 | 69 6e 64 6f 77 2d 70 20 |rds-in-w|indow-p |
|00001900| 23 5b 28 63 6f 6f 72 64 | 73 20 77 69 6e 64 6f 77 |#[(coord|s window|
|00001910| 29 20 22 08 ab 8d c1 5c | 6e 21 ab 88 c3 c4 5c 6e |) "....\|n!....\n|
|00001920| 21 21 0d 3d 87 0e 06 ab | 92 c1 5c 6e 21 ab 87 c7 |!!.=....|..\n!...|
|00001930| 5c 6e 21 0d 3d aa 84 5c | 6e 40 0d 3d ae c9 c8 c9 |\n!.=..\|n@.=....|
|00001940| 21 ad c4 c9 0d 21 89 1e | 5c 6e 40 1e 0b 0e 5c 6e |!....!..|\n@...\n|
|00001950| 41 40 1e 0c cd 0e 5c 6e | 38 1e 0e cf 0e 5c 6e 38 |A@....\n|8....\n8|
|00001960| 1e 10 d1 5c 6e 21 1e 12 | d3 5c 6e 21 1e 14 0e 0b |...\n!..|.\n!....|
|00001970| 0e 12 58 ad 96 0e 12 0e | 0e 58 ad 8f 0e 0c 0e 14 |..X.....|.X......|
|00001980| 58 ad 88 0e 14 0e 10 58 | ad 81 0d 2e 07 87 22 20 |X......X|......" |
|00001990| 5b 68 79 70 65 72 62 3a | 65 6d 61 63 73 31 39 2d |[hyperb:|emacs19-|
|000019a0| 70 20 65 76 65 6e 74 70 | 20 63 6f 6f 72 64 73 20 |p eventp| coords |
|000019b0| 70 6f 73 6e 2d 77 69 6e | 64 6f 77 20 65 76 65 6e |posn-win|dow even|
|000019c0| 74 2d 73 74 61 72 74 20 | 77 69 6e 64 6f 77 20 68 |t-start |window h|
|000019d0| 79 70 65 72 62 3a 78 65 | 6d 61 63 73 2d 70 20 65 |yperb:xe|macs-p e|
|000019e0| 76 65 6e 74 2d 77 69 6e | 64 6f 77 20 66 62 6f 75 |vent-win|dow fbou|
|000019f0| 6e 64 70 20 77 69 6e 64 | 6f 77 2d 65 64 67 65 73 |ndp wind|ow-edges|
|00001a00| 20 65 64 67 65 73 20 77 | 2d 78 6d 69 6e 20 77 2d | edges w|-xmin w-|
|00001a10| 79 6d 69 6e 20 32 20 77 | 2d 78 6d 61 78 20 33 20 |ymin 2 w|-xmax 3 |
|00001a20| 77 2d 79 6d 61 78 20 68 | 6d 6f 75 73 65 2d 78 2d |w-ymax h|mouse-x-|
|00001a30| 63 6f 6f 72 64 20 78 20 | 68 6d 6f 75 73 65 2d 79 |coord x |hmouse-y|
|00001a40| 2d 63 6f 6f 72 64 20 79 | 5d 20 34 20 22 5c 0a 54 |-coord y|] 4 "\.T|
|00001a50| 65 73 74 73 20 69 66 20 | 43 4f 4f 52 44 53 20 61 |ests if |COORDS a|
|00001a60| 72 65 20 69 6e 20 57 49 | 4e 44 4f 57 2e 20 20 52 |re in WI|NDOW. R|
|00001a70| 65 74 75 72 6e 73 20 57 | 49 4e 44 4f 57 20 69 66 |eturns W|INDOW if|
|00001a80| 20 74 68 65 79 20 61 72 | 65 2c 20 6e 69 6c 20 6f | they ar|e, nil o|
|00001a90| 74 68 65 72 77 69 73 65 | 2e 22 5d 29 0a 28 66 73 |therwise|."]).(fs|
|00001aa0| 65 74 20 27 73 6d 61 72 | 74 2d 77 69 6e 64 6f 77 |et 'smar|t-window|
|00001ab0| 2d 6f 66 2d 63 6f 6f 72 | 64 73 20 23 5b 28 63 6f |-of-coor|ds #[(co|
|00001ac0| 6f 72 64 73 29 20 22 08 | ab 8b c1 5c 6e 21 ab 86 |ords) ".|...\n!..|
|00001ad0| c3 c4 5c 6e 21 21 87 0d | ab 8e c1 5c 6e 21 ab 85 |..\n!!..|...\n!..|
|00001ae0| c6 5c 6e 21 aa 82 5c 6e | 40 ae aa c7 c8 21 c9 89 |.\n!..\n|@....!..|
|00001af0| 1e 5c 6e 1e 0b 1e 0c 0e | 0b ac 98 0e 0c ab 94 0e |.\n.....|........|
|00001b00| 0c 40 16 5c 6e 0e 0c 41 | 16 0c cd 5c 6e 0e 5c 6e |.@.\n..A|...\n.\n|
|00001b10| 5c 22 89 16 0b ab 68 0e | 0b 2b 87 22 20 5b 68 79 |\"....h.|.+." [hy|
|00001b20| 70 65 72 62 3a 65 6d 61 | 63 73 31 39 2d 70 20 65 |perb:ema|cs19-p e|
|00001b30| 76 65 6e 74 70 20 63 6f | 6f 72 64 73 20 70 6f 73 |ventp co|ords pos|
|00001b40| 6e 2d 77 69 6e 64 6f 77 | 20 65 76 65 6e 74 2d 73 |n-window| event-s|
|00001b50| 74 61 72 74 20 68 79 70 | 65 72 62 3a 78 65 6d 61 |tart hyp|erb:xema|
|00001b60| 63 73 2d 70 20 65 76 65 | 6e 74 2d 77 69 6e 64 6f |cs-p eve|nt-windo|
|00001b70| 77 20 68 79 70 62 3a 77 | 69 6e 64 6f 77 2d 6c 69 |w hypb:w|indow-li|
|00001b80| 73 74 20 6e 6f 2d 6d 69 | 6e 69 62 75 66 20 6e 69 |st no-mi|nibuf ni|
|00001b90| 6c 20 77 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 6f |l w wind|ow windo|
|00001ba0| 77 2d 6c 69 73 74 20 73 | 6d 61 72 74 2d 63 6f 6f |w-list s|mart-coo|
|00001bb0| 72 64 73 2d 69 6e 2d 77 | 69 6e 64 6f 77 2d 70 5d |rds-in-w|indow-p]|
|00001bc0| 20 34 20 22 5c 0a 52 65 | 74 75 72 6e 73 20 77 69 | 4 "\.Re|turns wi|
|00001bd0| 6e 64 6f 77 20 69 6e 20 | 77 68 69 63 68 20 43 4f |ndow in |which CO|
|00001be0| 4f 52 44 53 20 66 61 6c | 6c 20 6f 72 20 6e 69 6c |ORDS fal|l or nil|
|00001bf0| 20 69 66 20 6e 6f 6e 65 | 2e 0a 49 67 6e 6f 72 65 | if none|..Ignore|
|00001c00| 73 20 6d 69 6e 69 62 75 | 66 66 65 72 20 77 69 6e |s minibu|ffer win|
|00001c10| 64 6f 77 2e 22 5d 29 0a | 28 66 73 65 74 20 27 68 |dow."]).|(fset 'h|
|00001c20| 6d 6f 75 73 65 2d 63 6f | 6e 74 65 78 74 2d 6d 65 |mouse-co|ntext-me|
|00001c30| 6e 75 20 23 5b 6e 69 6c | 20 22 c0 c1 21 ab 8c 5c |nu #[nil| "..!..\|
|00001c40| 6e ab 86 0b ac 86 0c ac | 83 c1 20 87 c5 c6 21 c7 |n.......|.. ...!.|
|00001c50| 1e 08 89 1e 09 ab 91 ca | 8e cb 20 16 08 cc 0e 09 |........|.. .....|
|00001c60| 21 88 cd c7 21 29 aa 83 | ce c7 21 2a 87 22 20 5b |!...!)..|..!*." [|
|00001c70| 66 62 6f 75 6e 64 70 20 | 73 6d 61 72 74 2d 6d 65 |fboundp |smart-me|
|00001c80| 6e 75 20 77 69 6e 64 6f | 77 2d 73 79 73 74 65 6d |nu windo|w-system|
|00001c90| 20 68 79 70 65 72 62 3a | 6c 65 6d 61 63 73 2d 70 | hyperb:|lemacs-p|
|00001ca0| 20 68 79 70 65 72 62 3a | 65 6d 61 63 73 31 39 2d | hyperb:|emacs19-|
|00001cb0| 70 20 67 65 74 2d 62 75 | 66 66 65 72 2d 77 69 6e |p get-bu|ffer-win|
|00001cc0| 64 6f 77 20 22 2a 42 75 | 66 66 65 72 20 4c 69 73 |dow "*Bu|ffer Lis|
|00001cd0| 74 2a 22 20 6e 69 6c 20 | 6f 77 69 6e 64 20 77 69 |t*" nil |owind wi|
|00001ce0| 6e 64 20 28 28 73 65 6c | 65 63 74 2d 77 69 6e 64 |nd ((sel|ect-wind|
|00001cf0| 6f 77 20 6f 77 69 6e 64 | 29 29 20 73 65 6c 65 63 |ow owind|)) selec|
|00001d00| 74 65 64 2d 77 69 6e 64 | 6f 77 20 73 65 6c 65 63 |ted-wind|ow selec|
|00001d10| 74 2d 77 69 6e 64 6f 77 | 20 62 75 72 79 2d 62 75 |t-window| bury-bu|
|00001d20| 66 66 65 72 20 62 75 66 | 66 65 72 2d 6d 65 6e 75 |ffer buf|fer-menu|
|00001d30| 5d 20 33 20 22 5c 0a 49 | 66 20 72 75 6e 6e 69 6e |] 3 "\.I|f runnin|
|00001d40| 67 20 75 6e 64 65 72 20 | 61 20 77 69 6e 64 6f 77 |g under |a window|
|00001d50| 20 73 79 73 74 65 6d 2c | 20 64 69 73 70 6c 61 79 | system,| display|
|00001d60| 20 6f 72 20 68 69 64 65 | 20 74 68 65 20 62 75 66 | or hide| the buf|
|00001d70| 66 65 72 20 6d 65 6e 75 | 2e 0a 49 66 20 6e 6f 74 |fer menu|..If not|
|00001d80| 20 72 75 6e 6e 69 6e 67 | 20 75 6e 64 65 72 20 61 | running| under a|
|00001d90| 20 77 69 6e 64 6f 77 20 | 73 79 73 74 65 6d 20 61 | window |system a|
|00001da0| 6e 64 20 53 6d 61 72 74 | 20 4d 65 6e 75 73 20 61 |nd Smart| Menus a|
|00001db0| 72 65 20 6c 6f 61 64 65 | 64 2c 20 64 69 73 70 6c |re loade|d, displ|
|00001dc0| 61 79 20 74 68 65 0a 61 | 70 70 72 6f 70 72 69 61 |ay the.a|ppropria|
|00001dd0| 74 65 20 53 6d 61 72 74 | 20 4d 65 6e 75 20 66 6f |te Smart| Menu fo|
|00001de0| 72 20 74 68 65 20 63 6f | 6e 74 65 78 74 20 61 74 |r the co|ntext at|
|00001df0| 20 70 6f 69 6e 74 2e 22 | 5d 29 0a 28 66 73 65 74 | point."|]).(fset|
|00001e00| 20 27 68 6d 6f 75 73 65 | 2d 68 6f 72 69 7a 6f 6e | 'hmouse|-horizon|
|00001e10| 74 61 6c 20 23 5b 6e 69 | 6c 20 22 08 c1 3d ab 83 |tal #[ni|l "..=..|
|00001e20| c2 20 87 c3 20 87 22 20 | 5b 68 6b 65 79 2d 76 61 |. .. ." |[hkey-va|
|00001e30| 6c 75 65 20 72 69 67 68 | 74 20 65 6e 64 2d 6f 66 |lue righ|t end-of|
|00001e40| 2d 62 75 66 66 65 72 20 | 62 65 67 69 6e 6e 69 6e |-buffer |beginnin|
|00001e50| 67 2d 6f 66 2d 62 75 66 | 66 65 72 5d 20 32 20 22 |g-of-buf|fer] 2 "|
|00001e60| 5c 0a 47 6f 65 73 20 74 | 6f 20 62 75 66 66 65 72 |\.Goes t|o buffer|
|00001e70| 20 65 6e 64 20 69 66 20 | 64 72 61 67 20 77 61 73 | end if |drag was|
|00001e80| 20 74 6f 20 74 68 65 20 | 72 69 67 68 74 2c 20 6f | to the |right, o|
|00001e90| 74 68 65 72 77 69 73 65 | 20 67 6f 65 73 20 74 6f |therwise| goes to|
|00001ea0| 20 62 65 67 69 6e 6e 69 | 6e 67 2e 22 5d 29 0a 28 | beginni|ng."]).(|
|00001eb0| 66 73 65 74 20 27 68 6d | 6f 75 73 65 2d 68 6f 72 |fset 'hm|ouse-hor|
|00001ec0| 69 7a 6f 6e 74 61 6c 2d | 61 73 73 69 73 74 20 23 |izontal-|assist #|
|00001ed0| 5b 6e 69 6c 20 22 08 c1 | 3d ab 83 c2 20 87 c3 20 |[nil "..|=... .. |
|00001ee0| 87 22 20 5b 68 6b 65 79 | 2d 76 61 6c 75 65 20 72 |." [hkey|-value r|
|00001ef0| 69 67 68 74 20 73 6d 2d | 73 70 6c 69 74 2d 77 69 |ight sm-|split-wi|
|00001f00| 6e 64 6f 77 2d 76 65 72 | 74 69 63 61 6c 6c 79 20 |ndow-ver|tically |
|00001f10| 64 65 6c 65 74 65 2d 77 | 69 6e 64 6f 77 5d 20 32 |delete-w|indow] 2|
|00001f20| 20 22 5c 0a 53 70 6c 69 | 74 73 20 77 69 6e 64 6f | "\.Spli|ts windo|
|00001f30| 77 20 76 65 72 74 69 63 | 61 6c 6c 79 20 69 66 20 |w vertic|ally if |
|00001f40| 64 72 61 67 20 77 61 73 | 20 74 6f 20 74 68 65 20 |drag was| to the |
|00001f50| 72 69 67 68 74 2c 20 6f | 74 68 65 72 77 69 73 65 |right, o|therwise|
|00001f60| 20 64 65 6c 65 74 65 73 | 20 77 69 6e 64 6f 77 2e | deletes| window.|
|00001f70| 22 5d 29 0a 28 66 73 65 | 74 20 27 61 63 74 69 6f |"]).(fse|t 'actio|
|00001f80| 6e 2d 6b 65 79 2d 6d 6f | 64 65 6c 69 6e 65 20 23 |n-key-mo|deline #|
|00001f90| 5b 6e 69 6c 20 22 c0 09 | 21 89 1a ab 84 c3 5c 6e |[nil "..|!.....\n|
|00001fa0| 21 88 c4 20 ab 9f c5 20 | ab 84 c6 20 aa 99 c7 20 |!.. ... |... ... |
|00001fb0| ab 8e 0e 08 c9 3d ab 84 | ca 20 aa 8b cb 20 aa 87 |.....=..|. ... ..|
|00001fc0| cc cd 21 aa 82 ce 20 29 | 87 22 20 5b 73 6d 61 72 |..!... )|." [smar|
|00001fd0| 74 2d 77 69 6e 64 6f 77 | 2d 6f 66 2d 63 6f 6f 72 |t-window|-of-coor|
|00001fe0| 64 73 20 61 63 74 69 6f | 6e 2d 6b 65 79 2d 64 65 |ds actio|n-key-de|
|00001ff0| 70 72 65 73 73 2d 61 72 | 67 73 20 77 20 73 65 6c |press-ar|gs w sel|
|00002000| 65 63 74 2d 77 69 6e 64 | 6f 77 20 68 6d 6f 75 73 |ect-wind|ow hmous|
|00002010| 65 2d 6d 6f 64 65 6c 69 | 6e 65 2d 63 6c 69 63 6b |e-modeli|ne-click|
|00002020| 20 68 6d 6f 75 73 65 2d | 72 65 6c 65 61 73 65 2d | hmouse-|release-|
|00002030| 6c 65 66 74 2d 65 64 67 | 65 20 62 75 72 79 2d 62 |left-edg|e bury-b|
|00002040| 75 66 66 65 72 20 68 6d | 6f 75 73 65 2d 72 65 6c |uffer hm|ouse-rel|
|00002050| 65 61 73 65 2d 72 69 67 | 68 74 2d 65 64 67 65 20 |ease-rig|ht-edge |
|00002060| 6d 61 6a 6f 72 2d 6d 6f | 64 65 20 49 6e 66 6f 2d |major-mo|de Info-|
|00002070| 6d 6f 64 65 20 49 6e 66 | 6f 2d 65 78 69 74 20 69 |mode Inf|o-exit i|
|00002080| 6e 66 6f 20 72 75 6e 2d | 68 6f 6f 6b 73 20 61 63 |nfo run-|hooks ac|
|00002090| 74 69 6f 6e 2d 6b 65 79 | 2d 6d 6f 64 65 6c 69 6e |tion-key|-modelin|
|000020a0| 65 2d 68 6f 6f 6b 20 68 | 6d 6f 75 73 65 2d 6d 6f |e-hook h|mouse-mo|
|000020b0| 64 65 6c 69 6e 65 2d 72 | 65 73 69 7a 65 2d 77 69 |deline-r|esize-wi|
|000020c0| 6e 64 6f 77 5d 20 33 20 | 22 5c 0a 48 61 6e 64 6c |ndow] 3 |"\.Handl|
|000020d0| 65 73 20 41 63 74 69 6f | 6e 20 4b 65 79 20 64 65 |es Actio|n Key de|
|000020e0| 70 72 65 73 73 65 73 20 | 6f 6e 20 61 20 77 69 6e |presses |on a win|
|000020f0| 64 6f 77 20 6d 6f 64 65 | 20 6c 69 6e 65 2e 0a 49 |dow mode| line..I|
|00002100| 66 20 6b 65 79 20 69 73 | 3a 0a 20 28 31 29 20 63 |f key is|:. (1) c|
|00002110| 6c 69 63 6b 65 64 20 6f | 6e 20 6c 65 66 74 20 65 |licked o|n left e|
|00002120| 64 67 65 20 6f 66 20 61 | 20 77 69 6e 64 6f 77 27 |dge of a| window'|
|00002130| 73 20 6d 6f 64 65 6c 69 | 6e 65 2c 0a 20 20 20 20 |s modeli|ne,. |
|00002140| 20 77 69 6e 64 6f 77 27 | 73 20 62 75 66 66 65 72 | window'|s buffer|
|00002150| 20 69 73 20 62 75 72 69 | 65 64 20 28 70 6c 61 63 | is buri|ed (plac|
|00002160| 65 64 20 61 74 20 62 6f | 74 74 6f 6d 20 6f 66 20 |ed at bo|ttom of |
|00002170| 62 75 66 66 65 72 20 6c | 69 73 74 29 3b 0a 20 28 |buffer l|ist);. (|
|00002180| 32 29 20 63 6c 69 63 6b | 65 64 20 6f 6e 20 72 69 |2) click|ed on ri|
|00002190| 67 68 74 20 65 64 67 65 | 20 6f 66 20 61 20 77 69 |ght edge| of a wi|
|000021a0| 6e 64 6f 77 27 73 20 6d | 6f 64 65 6c 69 6e 65 2c |ndow's m|odeline,|
|000021b0| 0a 20 20 20 20 20 74 68 | 65 20 49 6e 66 6f 20 62 |. th|e Info b|
|000021c0| 75 66 66 65 72 20 69 73 | 20 64 69 73 70 6c 61 79 |uffer is| display|
|000021d0| 65 64 2c 20 6f 72 20 69 | 66 20 61 6c 72 65 61 64 |ed, or i|f alread|
|000021e0| 79 20 64 69 73 70 6c 61 | 79 65 64 20 61 6e 64 20 |y displa|yed and |
|000021f0| 74 68 65 0a 20 20 20 20 | 20 6d 6f 64 65 6c 69 6e |the. | modelin|
|00002200| 65 20 63 6c 69 63 6b 65 | 64 20 62 65 6c 6f 6e 67 |e clicke|d belong|
|00002210| 73 20 74 6f 20 61 20 77 | 69 6e 64 6f 77 20 64 69 |s to a w|indow di|
|00002220| 73 70 6c 61 79 69 6e 67 | 20 49 6e 66 6f 2c 20 74 |splaying| Info, t|
|00002230| 68 65 20 49 6e 66 6f 0a | 20 20 20 20 20 62 75 66 |he Info.| buf|
|00002240| 66 65 72 20 69 73 20 68 | 69 64 64 65 6e 3b 0a 20 |fer is h|idden;. |
|00002250| 28 33 29 20 63 6c 69 63 | 6b 65 64 20 61 6e 79 77 |(3) clic|ked anyw|
|00002260| 68 65 72 65 20 69 6e 20 | 74 68 65 20 6d 69 64 64 |here in |the midd|
|00002270| 6c 65 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 27 73 |le of a |window's|
|00002280| 20 6d 6f 64 65 6c 69 6e | 65 2c 0a 20 20 20 20 20 | modelin|e,. |
|00002290| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 6c 69 |the func|tions li|
|000022a0| 73 74 65 64 20 69 6e 20 | 27 61 63 74 69 6f 6e 2d |sted in |'action-|
|000022b0| 6b 65 79 2d 6d 6f 64 65 | 6c 69 6e 65 2d 68 6f 6f |key-mode|line-hoo|
|000022c0| 6b 27 20 61 72 65 20 63 | 61 6c 6c 65 64 3b 0a 20 |k' are c|alled;. |
|000022d0| 28 34 29 20 64 72 61 67 | 67 65 64 20 76 65 72 74 |(4) drag|ged vert|
|000022e0| 69 63 61 6c 6c 79 20 66 | 72 6f 6d 20 6d 6f 64 65 |ically f|rom mode|
|000022f0| 6c 69 6e 65 20 74 6f 20 | 77 69 74 68 69 6e 20 61 |line to |within a|
|00002300| 20 77 69 6e 64 6f 77 2c | 0a 20 20 20 20 20 74 68 | window,|. th|
|00002310| 65 20 6d 6f 64 65 6c 69 | 6e 65 20 69 73 20 6d 6f |e modeli|ne is mo|
|00002320| 76 65 64 20 74 6f 20 70 | 6f 69 6e 74 20 6f 66 20 |ved to p|oint of |
|00002330| 6b 65 79 20 72 65 6c 65 | 61 73 65 2c 20 74 68 65 |key rele|ase, the|
|00002340| 72 65 62 79 20 72 65 73 | 69 7a 69 6e 67 0a 20 20 |reby res|izing. |
|00002350| 20 20 20 69 74 73 20 77 | 69 6e 64 6f 77 20 61 6e | its w|indow an|
|00002360| 64 20 70 6f 74 65 6e 74 | 69 61 6c 6c 79 20 69 74 |d potent|ially it|
|00002370| 73 20 76 65 72 74 69 63 | 61 6c 20 6e 65 69 67 68 |s vertic|al neigh|
|00002380| 62 6f 72 73 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |bors."])|.(fset '|
|00002390| 61 73 73 69 73 74 2d 6b | 65 79 2d 6d 6f 64 65 6c |assist-k|ey-model|
|000023a0| 69 6e 65 20 23 5b 6e 69 | 6c 20 22 c0 c1 5c 6e 21 |ine #[ni|l "..\n!|
|000023b0| 1b 1c 0b ab 84 c5 0b 21 | 88 c6 c7 21 ab cb c8 c7 |.......!|...!....|
|000023c0| 21 ab ab c9 20 89 1e 5c | 6e 47 53 89 1e 0b 0e 5c |!... ..\|nGS....\|
|000023d0| 6e 38 14 cc 0c 21 cd 48 | ce 55 3f ad 81 0c 89 14 |n8...!.H|.U?.....|
|000023e0| ac 88 0e 0b 53 89 16 0b | aa 65 cf 0c 21 2a aa 9e |....S...|.e..!*..|
|000023f0| d0 c7 21 ab 91 cc 20 d1 | d2 21 9a ab 84 d3 20 aa |..!... .|.!.... .|
|00002400| 8d d4 d5 21 aa 88 d6 d7 | 21 aa 83 d8 c7 21 2a 87 |...!....|!....!*.|
|00002410| 22 20 5b 6e 69 6c 20 73 | 6d 61 72 74 2d 77 69 6e |" [nil s|mart-win|
|00002420| 64 6f 77 2d 6f 66 2d 63 | 6f 6f 72 64 73 20 61 73 |dow-of-c|oords as|
|00002430| 73 69 73 74 2d 6b 65 79 | 2d 64 65 70 72 65 73 73 |sist-key|-depress|
|00002440| 2d 61 72 67 73 20 77 20 | 76 61 6c 20 73 65 6c 65 |-args w |val sele|
|00002450| 63 74 2d 77 69 6e 64 6f | 77 20 68 6d 6f 75 73 65 |ct-windo|w hmouse|
|00002460| 2d 6d 6f 64 65 6c 69 6e | 65 2d 63 6c 69 63 6b 20 |-modelin|e-click |
|00002470| 61 73 73 69 73 74 20 68 | 6d 6f 75 73 65 2d 72 65 |assist h|mouse-re|
|00002480| 6c 65 61 73 65 2d 6c 65 | 66 74 2d 65 64 67 65 20 |lease-le|ft-edge |
|00002490| 62 75 66 66 65 72 2d 6c | 69 73 74 20 62 75 66 73 |buffer-l|ist bufs|
|000024a0| 20 65 6e 74 72 79 20 62 | 75 66 66 65 72 2d 6e 61 | entry b|uffer-na|
|000024b0| 6d 65 20 30 20 33 32 20 | 73 77 69 74 63 68 2d 74 |me 0 32 |switch-t|
|000024c0| 6f 2d 62 75 66 66 65 72 | 20 68 6d 6f 75 73 65 2d |o-buffer| hmouse-|
|000024d0| 72 65 6c 65 61 73 65 2d | 72 69 67 68 74 2d 65 64 |release-|right-ed|
|000024e0| 67 65 20 68 79 70 62 3a | 68 65 6c 70 2d 62 75 66 |ge hypb:|help-buf|
|000024f0| 2d 6e 61 6d 65 20 22 53 | 6d 61 72 74 22 20 68 6b |-name "S|mart" hk|
|00002500| 65 79 2d 68 65 6c 70 2d | 68 69 64 65 20 68 6b 65 |ey-help-|hide hke|
|00002510| 79 2d 73 75 6d 6d 61 72 | 69 7a 65 20 63 75 72 72 |y-summar|ize curr|
|00002520| 65 6e 74 2d 77 69 6e 64 | 6f 77 20 72 75 6e 2d 68 |ent-wind|ow run-h|
|00002530| 6f 6f 6b 73 20 61 73 73 | 69 73 74 2d 6b 65 79 2d |ooks ass|ist-key-|
|00002540| 6d 6f 64 65 6c 69 6e 65 | 2d 68 6f 6f 6b 20 68 6d |modeline|-hook hm|
|00002550| 6f 75 73 65 2d 6d 6f 64 | 65 6c 69 6e 65 2d 72 65 |ouse-mod|eline-re|
|00002560| 73 69 7a 65 2d 77 69 6e | 64 6f 77 5d 20 34 20 22 |size-win|dow] 4 "|
|00002570| 5c 0a 48 61 6e 64 6c 65 | 73 20 41 73 73 69 73 74 |\.Handle|s Assist|
|00002580| 20 4b 65 79 20 64 65 70 | 72 65 73 73 65 73 20 6f | Key dep|resses o|
|00002590| 6e 20 61 20 77 69 6e 64 | 6f 77 20 6d 6f 64 65 20 |n a wind|ow mode |
|000025a0| 6c 69 6e 65 2e 0a 49 66 | 20 73 65 63 6f 6e 64 61 |line..If| seconda|
|000025b0| 72 79 20 6b 65 79 20 69 | 73 3a 0a 20 28 31 29 20 |ry key i|s:. (1) |
|000025c0| 63 6c 69 63 6b 65 64 20 | 6f 6e 20 6c 65 66 74 20 |clicked |on left |
|000025d0| 65 64 67 65 20 6f 66 20 | 61 20 77 69 6e 64 6f 77 |edge of |a window|
|000025e0| 27 73 20 6d 6f 64 65 6c | 69 6e 65 2c 0a 20 20 20 |'s model|ine,. |
|000025f0| 20 20 62 6f 74 74 6f 6d | 20 62 75 66 66 65 72 20 | bottom| buffer |
|00002600| 69 6e 20 62 75 66 66 65 | 72 20 6c 69 73 74 20 69 |in buffe|r list i|
|00002610| 73 20 75 6e 62 75 72 69 | 65 64 20 61 6e 64 20 70 |s unburi|ed and p|
|00002620| 6c 61 63 65 64 20 69 6e | 20 77 69 6e 64 6f 77 3b |laced in| window;|
|00002630| 0a 20 28 32 29 20 63 6c | 69 63 6b 65 64 20 6f 6e |. (2) cl|icked on|
|00002640| 20 72 69 67 68 74 20 65 | 64 67 65 20 6f 66 20 61 | right e|dge of a|
|00002650| 20 77 69 6e 64 6f 77 27 | 73 20 6d 6f 64 65 6c 69 | window'|s modeli|
|00002660| 6e 65 2c 0a 20 20 20 20 | 20 74 68 65 20 73 75 6d |ne,. | the sum|
|00002670| 6d 61 72 79 20 6f 66 20 | 53 6d 61 72 74 20 4b 65 |mary of |Smart Ke|
|00002680| 79 20 62 65 68 61 76 69 | 6f 72 20 69 73 20 64 69 |y behavi|or is di|
|00002690| 73 70 6c 61 79 65 64 2c | 20 6f 72 20 69 66 20 61 |splayed,| or if a|
|000026a0| 6c 72 65 61 64 79 0a 20 | 20 20 20 20 64 69 73 70 |lready. | disp|
|000026b0| 6c 61 79 65 64 20 61 6e | 64 20 74 68 65 20 6d 6f |layed an|d the mo|
|000026c0| 64 65 6c 69 6e 65 20 63 | 6c 69 63 6b 65 64 20 62 |deline c|licked b|
|000026d0| 65 6c 6f 6e 67 73 20 74 | 6f 20 61 20 77 69 6e 64 |elongs t|o a wind|
|000026e0| 6f 77 20 64 69 73 70 6c | 61 79 69 6e 67 0a 20 20 |ow displ|aying. |
|000026f0| 20 20 20 74 68 65 20 73 | 75 6d 6d 61 72 79 2c 20 | the s|ummary, |
|00002700| 74 68 65 20 73 75 6d 6d | 61 72 79 20 62 75 66 66 |the summ|ary buff|
|00002710| 65 72 20 69 73 20 68 69 | 64 64 65 6e 3b 0a 20 28 |er is hi|dden;. (|
|00002720| 33 29 20 63 6c 69 63 6b | 65 64 20 61 6e 79 77 68 |3) click|ed anywh|
|00002730| 65 72 65 20 69 6e 20 74 | 68 65 20 6d 69 64 64 6c |ere in t|he middl|
|00002740| 65 20 6f 66 20 61 20 77 | 69 6e 64 6f 77 27 73 20 |e of a w|indow's |
|00002750| 6d 6f 64 65 6c 69 6e 65 | 2c 0a 20 20 20 20 20 74 |modeline|,. t|
|00002760| 68 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 6c 69 73 |he funct|ions lis|
|00002770| 74 65 64 20 69 6e 20 27 | 61 73 73 69 73 74 2d 6b |ted in '|assist-k|
|00002780| 65 79 2d 6d 6f 64 65 6c | 69 6e 65 2d 68 6f 6f 6b |ey-model|ine-hook|
|00002790| 27 20 61 72 65 20 63 61 | 6c 6c 65 64 3b 0a 20 28 |' are ca|lled;. (|
|000027a0| 34 29 20 64 72 61 67 67 | 65 64 20 76 65 72 74 69 |4) dragg|ed verti|
|000027b0| 63 61 6c 6c 79 20 66 72 | 6f 6d 20 6d 6f 64 65 6c |cally fr|om model|
|000027c0| 69 6e 65 20 74 6f 20 77 | 69 74 68 69 6e 20 61 20 |ine to w|ithin a |
|000027d0| 77 69 6e 64 6f 77 2c 0a | 20 20 20 20 20 74 68 65 |window,.| the|
|000027e0| 20 6d 6f 64 65 6c 69 6e | 65 20 69 73 20 6d 6f 76 | modelin|e is mov|
|000027f0| 65 64 20 74 6f 20 70 6f | 69 6e 74 20 6f 66 20 6b |ed to po|int of k|
|00002800| 65 79 20 72 65 6c 65 61 | 73 65 2c 20 74 68 65 72 |ey relea|se, ther|
|00002810| 65 62 79 20 72 65 73 69 | 7a 69 6e 67 0a 20 20 20 |eby resi|zing. |
|00002820| 20 20 69 74 73 20 77 69 | 6e 64 6f 77 20 61 6e 64 | its wi|ndow and|
|00002830| 20 70 6f 74 65 6e 74 69 | 61 6c 6c 79 20 69 74 73 | potenti|ally its|
|00002840| 20 76 65 72 74 69 63 61 | 6c 20 6e 65 69 67 68 62 | vertica|l neighb|
|00002850| 6f 72 73 2e 22 5d 29 0a | 28 66 73 65 74 20 27 68 |ors."]).|(fset 'h|
|00002860| 6d 6f 75 73 65 2d 6d 6f | 64 65 6c 69 6e 65 2d 63 |mouse-mo|deline-c|
|00002870| 6c 69 63 6b 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |lick #[(|&optiona|
|00002880| 6c 20 61 73 73 69 73 74 | 2d 66 6c 61 67 29 20 22 |l assist|-flag) "|
|00002890| c0 09 21 87 22 20 5b 68 | 6d 6f 75 73 65 2d 6d 6f |..!." [h|mouse-mo|
|000028a0| 64 65 6c 69 6e 65 2d 72 | 65 6c 65 61 73 65 20 61 |deline-r|elease a|
|000028b0| 73 73 69 73 74 2d 66 6c | 61 67 5d 20 32 20 22 5c |ssist-fl|ag] 2 "\|
|000028c0| 0a 52 65 74 75 72 6e 73 | 20 6e 6f 6e 2d 6e 69 6c |.Returns| non-nil|
|000028d0| 20 69 66 20 6c 61 73 74 | 20 41 63 74 69 6f 6e 20 | if last| Action |
|000028e0| 4b 65 79 20 64 65 70 72 | 65 73 73 20 61 6e 64 20 |Key depr|ess and |
|000028f0| 72 65 6c 65 61 73 65 20 | 77 61 73 20 61 74 20 73 |release |was at s|
|00002900| 61 6d 65 20 70 6f 69 6e | 74 20 69 6e 20 61 20 6d |ame poin|t in a m|
|00002910| 6f 64 65 6c 69 6e 65 2e | 0a 4f 70 74 69 6f 6e 61 |odeline.|.Optiona|
|00002920| 6c 20 41 53 53 49 53 54 | 2d 46 4c 41 47 20 6e 6f |l ASSIST|-FLAG no|
|00002930| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 74 65 73 74 |n-nil me|ans test|
|00002940| 20 66 6f 72 20 41 73 73 | 69 73 74 20 4b 65 79 20 | for Ass|ist Key |
|00002950| 63 6c 69 63 6b 20 69 6e | 73 74 65 61 64 2e 22 5d |click in|stead."]|
|00002960| 29 0a 28 66 73 65 74 20 | 27 68 6d 6f 75 73 65 2d |).(fset |'hmouse-|
|00002970| 6d 6f 64 65 6c 69 6e 65 | 2d 64 65 70 72 65 73 73 |modeline|-depress|
|00002980| 20 23 5b 6e 69 6c 20 22 | 08 ab 83 09 aa 81 5c 6e | #[nil "|......\n|
|00002990| 1b 0c ad b0 0b ad ad c5 | c6 21 ab 85 c6 0b 21 aa |........|.!....!.|
|000029a0| a3 c7 0b 21 89 1e 08 ad | 87 c9 ca 0e 08 21 38 53 |...!....|.....!8S|
|000029b0| 1e 0b cc 0b 21 89 1e 0d | ad 89 0e 0b ad 85 0e 0d |....!...|........|
|000029c0| 0e 0b 55 2b 29 87 22 20 | 5b 61 73 73 69 73 74 2d |..U+)." |[assist-|
|000029d0| 66 6c 61 67 20 61 73 73 | 69 73 74 2d 6b 65 79 2d |flag ass|ist-key-|
|000029e0| 64 65 70 72 65 73 73 2d | 61 72 67 73 20 61 63 74 |depress-|args act|
|000029f0| 69 6f 6e 2d 6b 65 79 2d | 64 65 70 72 65 73 73 2d |ion-key-|depress-|
|00002a00| 61 72 67 73 20 61 72 67 | 73 20 68 79 70 65 72 62 |args arg|s hyperb|
|00002a10| 3a 77 69 6e 64 6f 77 2d | 73 79 73 74 65 6d 20 66 |:window-|system f|
|00002a20| 62 6f 75 6e 64 70 20 65 | 76 65 6e 74 2d 6f 76 65 |boundp e|vent-ove|
|00002a30| 72 2d 6d 6f 64 65 6c 69 | 6e 65 2d 70 20 73 6d 61 |r-modeli|ne-p sma|
|00002a40| 72 74 2d 77 69 6e 64 6f | 77 2d 6f 66 2d 63 6f 6f |rt-windo|w-of-coo|
|00002a50| 72 64 73 20 77 20 33 20 | 77 69 6e 64 6f 77 2d 65 |rds w 3 |window-e|
|00002a60| 64 67 65 73 20 6d 6f 64 | 65 2d 6c 6e 20 68 6d 6f |dges mod|e-ln hmo|
|00002a70| 75 73 65 2d 79 2d 63 6f | 6f 72 64 20 6c 61 73 74 |use-y-co|ord last|
|00002a80| 2d 70 72 65 73 73 2d 79 | 5d 20 34 20 22 5c 0a 52 |-press-y|] 4 "\.R|
|00002a90| 65 74 75 72 6e 73 20 6e | 6f 6e 2d 6e 69 6c 20 69 |eturns n|on-nil i|
|00002aa0| 66 20 41 63 74 69 6f 6e | 20 4b 65 79 20 77 61 73 |f Action| Key was|
|00002ab0| 20 64 65 70 72 65 73 73 | 65 64 20 6f 6e 20 61 20 | depress|ed on a |
|00002ac0| 77 69 6e 64 6f 77 20 6d | 6f 64 65 20 6c 69 6e 65 |window m|ode line|
|00002ad0| 2e 0a 49 66 20 66 72 65 | 65 20 76 61 72 69 61 62 |..If fre|e variab|
|00002ae0| 6c 65 20 27 61 73 73 69 | 73 74 2d 66 6c 61 67 27 |le 'assi|st-flag'|
|00002af0| 20 69 73 20 6e 6f 6e 2d | 6e 69 6c 2c 20 75 73 65 | is non-|nil, use|
|00002b00| 73 20 41 73 73 69 73 74 | 20 4b 65 79 2e 22 5d 29 |s Assist| Key."])|
|00002b10| 0a 28 66 73 65 74 20 27 | 68 6d 6f 75 73 65 2d 6d |.(fset '|hmouse-m|
|00002b20| 6f 64 65 6c 69 6e 65 2d | 72 65 6c 65 61 73 65 20 |odeline-|release |
|00002b30| 23 5b 28 26 6f 70 74 69 | 6f 6e 61 6c 20 61 73 73 |#[(&opti|onal ass|
|00002b40| 69 73 74 2d 66 6c 61 67 | 29 20 22 08 ab 83 09 aa |ist-flag|) ".....|
|00002b50| 81 5c 6e 1b 0c ad b0 0b | ad ad c5 c6 21 ab 85 c6 |.\n.....|....!...|
|00002b60| 0b 21 aa a3 c7 0b 21 89 | 1e 08 ad 87 c9 ca 0e 08 |.!....!.|........|
|00002b70| 21 38 53 1e 0b cc 0b 21 | 89 1e 0d ad 89 0e 0b ad |!8S....!|........|
|00002b80| 85 0e 0d 0e 0b 55 2b 29 | 87 22 20 5b 61 73 73 69 |.....U+)|." [assi|
|00002b90| 73 74 2d 66 6c 61 67 20 | 61 73 73 69 73 74 2d 6b |st-flag |assist-k|
|00002ba0| 65 79 2d 72 65 6c 65 61 | 73 65 2d 61 72 67 73 20 |ey-relea|se-args |
|00002bb0| 61 63 74 69 6f 6e 2d 6b | 65 79 2d 72 65 6c 65 61 |action-k|ey-relea|
|00002bc0| 73 65 2d 61 72 67 73 20 | 61 72 67 73 20 68 79 70 |se-args |args hyp|
|00002bd0| 65 72 62 3a 77 69 6e 64 | 6f 77 2d 73 79 73 74 65 |erb:wind|ow-syste|
|00002be0| 6d 20 66 62 6f 75 6e 64 | 70 20 65 76 65 6e 74 2d |m fbound|p event-|
|00002bf0| 6f 76 65 72 2d 6d 6f 64 | 65 6c 69 6e 65 2d 70 20 |over-mod|eline-p |
|00002c00| 73 6d 61 72 74 2d 77 69 | 6e 64 6f 77 2d 6f 66 2d |smart-wi|ndow-of-|
|00002c10| 63 6f 6f 72 64 73 20 77 | 20 33 20 77 69 6e 64 6f |coords w| 3 windo|
|00002c20| 77 2d 65 64 67 65 73 20 | 6d 6f 64 65 2d 6c 6e 20 |w-edges |mode-ln |
|00002c30| 68 6d 6f 75 73 65 2d 79 | 2d 63 6f 6f 72 64 20 6c |hmouse-y|-coord l|
|00002c40| 61 73 74 2d 70 72 65 73 | 73 2d 79 5d 20 34 20 22 |ast-pres|s-y] 4 "|
|00002c50| 5c 0a 52 65 74 75 72 6e | 73 20 6e 6f 6e 2d 6e 69 |\.Return|s non-ni|
|00002c60| 6c 20 69 66 20 41 63 74 | 69 6f 6e 20 4b 65 79 20 |l if Act|ion Key |
|00002c70| 77 61 73 20 72 65 6c 65 | 61 73 65 64 20 6f 6e 20 |was rele|ased on |
|00002c80| 61 20 77 69 6e 64 6f 77 | 20 6d 6f 64 65 20 6c 69 |a window| mode li|
|00002c90| 6e 65 2e 0a 4f 70 74 69 | 6f 6e 61 6c 20 6e 6f 6e |ne..Opti|onal non|
|00002ca0| 2d 6e 69 6c 20 41 53 53 | 49 53 54 2d 46 4c 41 47 |-nil ASS|IST-FLAG|
|00002cb0| 20 6d 65 61 6e 73 20 74 | 65 73 74 20 72 65 6c 65 | means t|est rele|
|00002cc0| 61 73 65 20 6f 66 20 41 | 73 73 69 73 74 20 4b 65 |ase of A|ssist Ke|
|00002cd0| 79 20 69 6e 73 74 65 61 | 64 2e 22 5d 29 0a 28 66 |y instea|d."]).(f|
|00002ce0| 73 65 74 20 27 68 6d 6f | 75 73 65 2d 6d 6f 64 65 |set 'hmo|use-mode|
|00002cf0| 6c 69 6e 65 2d 72 65 73 | 69 7a 65 2d 77 69 6e 64 |line-res|ize-wind|
|00002d00| 6f 77 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |ow #[(&o|ptional |
|00002d10| 61 73 73 69 73 74 2d 66 | 6c 61 67 29 20 22 08 ac |assist-f|lag) "..|
|00002d20| 82 c1 87 5c 6e ab 89 c3 | c4 21 ac 84 c5 c6 21 87 |...\n...|.!....!.|
|00002d30| c7 20 1e 08 c9 0e 5c 6e | ab 84 0e 0b aa 82 0e 0c |. ....\n|........|
|00002d40| 21 89 1e 0d ad 87 ce c4 | 0e 0d 21 38 53 1e 0f d0 |!.......|..!8S...|
|00002d50| 0e 5c 6e ab 84 0e 11 aa | 82 0e 12 21 1e 13 0e 0f |.\n.....|...!....|
|00002d60| 0e 13 5a 1e 14 0e 15 ab | 92 70 1e 16 d7 8e d8 0e |..Z.....|.p......|
|00002d70| 15 21 71 88 d9 0e 15 21 | 62 88 2a 0e 0f da 5c 5c |.!q....!|b.*...\\|
|00002d80| db 20 59 ab 85 c5 dc 21 | aa a5 dd de 21 47 da 57 |. Y....!|....!G.W|
|00002d90| ab 85 c5 df 21 aa 98 e0 | 8e e1 0e 0d 21 88 e2 0e |....!...|....!...|
|00002da0| 14 21 88 e1 e3 c1 e4 5c | 22 21 88 c1 e5 e6 8f 29 |.!.....\|"!.....)|
|00002db0| 2d 87 22 20 5b 68 79 70 | 65 72 62 3a 77 69 6e 64 |-." [hyp|erb:wind|
|00002dc0| 6f 77 2d 73 79 73 74 65 | 6d 20 6e 69 6c 20 68 79 |ow-syste|m nil hy|
|00002dd0| 70 65 72 62 3a 78 65 6d | 61 63 73 2d 70 20 66 62 |perb:xem|acs-p fb|
|00002de0| 6f 75 6e 64 70 20 77 69 | 6e 64 6f 77 2d 65 64 67 |oundp wi|ndow-edg|
|00002df0| 65 73 20 65 72 72 6f 72 | 20 22 44 72 61 67 20 66 |es error| "Drag f|
|00002e00| 72 6f 6d 20 61 20 6d 6f | 64 65 2d 6c 69 6e 65 20 |rom a mo|de-line |
|00002e10| 77 69 74 68 20 62 75 74 | 74 6f 6e 31 20 74 6f 20 |with but|ton1 to |
|00002e20| 72 65 73 69 7a 65 20 77 | 69 6e 64 6f 77 73 2e 22 |resize w|indows."|
|00002e30| 20 73 65 6c 65 63 74 65 | 64 2d 77 69 6e 64 6f 77 | selecte|d-window|
|00002e40| 20 6f 77 69 6e 64 20 73 | 6d 61 72 74 2d 77 69 6e | owind s|mart-win|
|00002e50| 64 6f 77 2d 6f 66 2d 63 | 6f 6f 72 64 73 20 61 73 |dow-of-c|oords as|
|00002e60| 73 69 73 74 2d 66 6c 61 | 67 20 61 73 73 69 73 74 |sist-fla|g assist|
|00002e70| 2d 6b 65 79 2d 64 65 70 | 72 65 73 73 2d 61 72 67 |-key-dep|ress-arg|
|00002e80| 73 20 61 63 74 69 6f 6e | 2d 6b 65 79 2d 64 65 70 |s action|-key-dep|
|00002e90| 72 65 73 73 2d 61 72 67 | 73 20 77 69 6e 64 6f 77 |ress-arg|s window|
|00002ea0| 20 33 20 6d 6f 64 65 2d | 6c 6e 20 68 6d 6f 75 73 | 3 mode-|ln hmous|
|00002eb0| 65 2d 79 2d 63 6f 6f 72 | 64 20 61 73 73 69 73 74 |e-y-coor|d assist|
|00002ec0| 2d 6b 65 79 2d 72 65 6c | 65 61 73 65 2d 61 72 67 |-key-rel|ease-arg|
|00002ed0| 73 20 61 63 74 69 6f 6e | 2d 6b 65 79 2d 72 65 6c |s action|-key-rel|
|00002ee0| 65 61 73 65 2d 61 72 67 | 73 20 6c 61 73 74 2d 72 |ease-arg|s last-r|
|00002ef0| 65 6c 65 61 73 65 2d 79 | 20 73 68 72 69 6e 6b 2d |elease-y| shrink-|
|00002f00| 61 6d 6f 75 6e 74 20 61 | 63 74 69 6f 6e 2d 6b 65 |amount a|ction-ke|
|00002f10| 79 2d 72 65 6c 65 61 73 | 65 2d 70 72 65 76 2d 70 |y-releas|e-prev-p|
|00002f20| 6f 69 6e 74 20 6f 62 75 | 66 20 28 28 73 65 74 2d |oint obu|f ((set-|
|00002f30| 62 75 66 66 65 72 20 6f | 62 75 66 29 29 20 6d 61 |buffer o|buf)) ma|
|00002f40| 72 6b 65 72 2d 62 75 66 | 66 65 72 20 6d 61 72 6b |rker-buf|fer mark|
|00002f50| 65 72 2d 70 6f 73 69 74 | 69 6f 6e 20 32 20 66 72 |er-posit|ion 2 fr|
|00002f60| 61 6d 65 2d 68 65 69 67 | 68 74 20 22 28 68 6d 6f |ame-heig|ht "(hmo|
|00002f70| 75 73 65 2d 6d 6f 64 65 | 6c 69 6e 65 2d 72 65 73 |use-mode|line-res|
|00002f80| 69 7a 65 2d 77 69 6e 64 | 6f 77 29 3a 20 43 61 6e |ize-wind|ow): Can|
|00002f90| 27 74 20 6d 6f 76 65 20 | 62 6f 74 74 6f 6d 20 77 |'t move |bottom w|
|00002fa0| 69 6e 64 6f 77 20 69 6e | 20 66 72 61 6d 65 2e 22 |indow in| frame."|
|00002fb0| 20 68 79 70 62 3a 77 69 | 6e 64 6f 77 2d 6c 69 73 | hypb:wi|ndow-lis|
|00002fc0| 74 20 6e 6f 2d 6d 69 6e | 69 62 75 66 20 22 28 68 |t no-min|ibuf "(h|
|00002fd0| 6d 6f 75 73 65 2d 6d 6f | 64 65 6c 69 6e 65 2d 72 |mouse-mo|deline-r|
|00002fe0| 65 73 69 7a 65 2d 77 69 | 6e 64 6f 77 29 3a 20 43 |esize-wi|ndow): C|
|00002ff0| 61 6e 27 74 20 72 65 73 | 69 7a 65 20 73 6f 6c 65 |an't res|ize sole|
|00003000| 20 77 69 6e 64 6f 77 20 | 69 6e 20 66 72 61 6d 65 | window |in frame|
|00003010| 2e 22 20 28 28 73 65 6c | 65 63 74 2d 77 69 6e 64 |." ((sel|ect-wind|
|00003020| 6f 77 20 6f 77 69 6e 64 | 29 29 20 73 65 6c 65 63 |ow owind|)) selec|
|00003030| 74 2d 77 69 6e 64 6f 77 | 20 73 68 72 69 6e 6b 2d |t-window| shrink-|
|00003040| 77 69 6e 64 6f 77 20 6e | 65 78 74 2d 77 69 6e 64 |window n|ext-wind|
|00003050| 6f 77 20 6e 6f 2d 6d 69 | 6e 69 20 28 73 63 72 6f |ow no-mi|ni (scro|
|00003060| 6c 6c 2d 64 6f 77 6e 20 | 73 68 72 69 6e 6b 2d 61 |ll-down |shrink-a|
|00003070| 6d 6f 75 6e 74 29 20 28 | 28 65 72 72 6f 72 29 29 |mount) (|(error))|
|00003080| 5d 20 35 20 22 5c 0a 52 | 65 73 69 7a 65 73 20 77 |] 5 "\.R|esizes w|
|00003090| 69 6e 64 6f 77 20 77 68 | 6f 73 65 20 6d 6f 64 65 |indow wh|ose mode|
|000030a0| 20 6c 69 6e 65 20 77 61 | 73 20 64 65 70 72 65 73 | line wa|s depres|
|000030b0| 73 65 64 20 75 70 6f 6e | 20 62 79 20 74 68 65 20 |sed upon| by the |
|000030c0| 41 63 74 69 6f 6e 20 4b | 65 79 2e 0a 52 65 73 69 |Action K|ey..Resi|
|000030d0| 7a 65 20 61 6d 6f 75 6e | 74 20 64 65 70 65 6e 64 |ze amoun|t depend|
|000030e0| 73 20 75 70 6f 6e 20 74 | 68 65 20 76 65 72 74 69 |s upon t|he verti|
|000030f0| 63 61 6c 20 64 69 66 66 | 65 72 65 6e 63 65 20 62 |cal diff|erence b|
|00003100| 65 74 77 65 65 6e 20 70 | 72 65 73 73 20 61 6e 64 |etween p|ress and|
|00003110| 20 72 65 6c 65 61 73 65 | 0a 6f 66 20 74 68 65 20 | release|.of the |
|00003120| 41 63 74 69 6f 6e 20 4b | 65 79 2e 20 20 4f 70 74 |Action K|ey. Opt|
|00003130| 69 6f 6e 61 6c 20 61 72 | 67 20 41 53 53 49 53 54 |ional ar|g ASSIST|
|00003140| 2d 46 4c 41 47 20 6e 6f | 6e 2d 6e 69 6c 20 6d 65 |-FLAG no|n-nil me|
|00003150| 61 6e 73 20 75 73 65 20 | 76 61 6c 75 65 73 20 66 |ans use |values f|
|00003160| 72 6f 6d 0a 41 73 73 69 | 73 74 20 4b 65 79 20 69 |rom.Assi|st Key i|
|00003170| 6e 73 74 65 61 64 2e 22 | 5d 29 0a 28 66 73 65 74 |nstead."|]).(fset|
|00003180| 20 27 68 6d 6f 75 73 65 | 2d 72 65 6c 65 61 73 65 | 'hmouse|-release|
|00003190| 2d 6c 65 66 74 2d 65 64 | 67 65 20 23 5b 28 26 6f |-left-ed|ge #[(&o|
|000031a0| 70 74 69 6f 6e 61 6c 20 | 61 73 73 69 73 74 2d 66 |ptional |assist-f|
|000031b0| 6c 61 67 29 20 22 08 ab | 83 09 aa 81 5c 6e c3 89 |lag) "..|....\n..|
|000031c0| 1c 1d 1e 06 c7 c8 21 ab | 96 0e 06 ad 8d c9 0e 06 |......!.|........|
|000031d0| 21 ca 20 3d ad 84 cb 0e | 06 21 14 cc 15 aa 8d cd |!. =....|.!......|
|000031e0| 20 40 15 0e 06 ad 84 cb | 0e 06 21 14 0c ad 8d 0c | @......|..!.....|
|000031f0| 0d 5a 0e 0e 57 ad 85 0c | 0d 5a cc 59 2b 87 22 20 |.Z..W...|.Z.Y+." |
|00003200| 5b 61 73 73 69 73 74 2d | 66 6c 61 67 20 61 73 73 |[assist-|flag ass|
|00003210| 69 73 74 2d 6b 65 79 2d | 72 65 6c 65 61 73 65 2d |ist-key-|release-|
|00003220| 61 72 67 73 20 61 63 74 | 69 6f 6e 2d 6b 65 79 2d |args act|ion-key-|
|00003230| 72 65 6c 65 61 73 65 2d | 61 72 67 73 20 6e 69 6c |release-|args nil|
|00003240| 20 6c 61 73 74 2d 72 65 | 6c 65 61 73 65 2d 78 20 | last-re|lease-x |
|00003250| 77 69 6e 64 6f 77 2d 6c | 65 66 74 20 61 72 67 73 |window-l|eft args|
|00003260| 20 66 62 6f 75 6e 64 70 | 20 77 69 6e 64 6f 77 2d | fboundp| window-|
|00003270| 6c 6f 77 65 73 74 2d 70 | 20 65 76 65 6e 74 2d 77 |lowest-p| event-w|
|00003280| 69 6e 64 6f 77 20 73 65 | 6c 65 63 74 65 64 2d 77 |indow se|lected-w|
|00003290| 69 6e 64 6f 77 20 68 6d | 6f 75 73 65 2d 78 2d 63 |indow hm|ouse-x-c|
|000032a0| 6f 6f 72 64 20 30 20 77 | 69 6e 64 6f 77 2d 65 64 |oord 0 w|indow-ed|
|000032b0| 67 65 73 20 68 6d 6f 75 | 73 65 2d 65 64 67 65 2d |ges hmou|se-edge-|
|000032c0| 73 65 6e 73 69 74 69 76 | 69 74 79 5d 20 33 20 22 |sensitiv|ity] 3 "|
|000032d0| 5c 0a 52 65 74 75 72 6e | 73 20 6e 6f 6e 2d 6e 69 |\.Return|s non-ni|
|000032e0| 6c 20 69 66 20 6c 61 73 | 74 20 41 63 74 69 6f 6e |l if las|t Action|
|000032f0| 20 4b 65 79 20 72 65 6c | 65 61 73 65 20 77 61 73 | Key rel|ease was|
|00003300| 20 61 74 20 6c 65 66 74 | 20 77 69 6e 64 6f 77 20 | at left| window |
|00003310| 65 64 67 65 2e 0a 27 68 | 6d 6f 75 73 65 2d 65 64 |edge..'h|mouse-ed|
|00003320| 67 65 2d 73 65 6e 73 69 | 74 69 76 69 74 79 27 20 |ge-sensi|tivity' |
|00003330| 76 61 6c 75 65 20 64 65 | 74 65 72 6d 69 6e 65 73 |value de|termines|
|00003340| 20 68 6f 77 20 6e 65 61 | 72 20 74 6f 20 61 63 74 | how nea|r to act|
|00003350| 75 61 6c 20 65 64 67 65 | 20 74 68 65 0a 72 65 6c |ual edge| the.rel|
|00003360| 65 61 73 65 20 6d 75 73 | 74 20 62 65 2e 22 5d 29 |ease mus|t be."])|
|00003370| 0a 28 66 73 65 74 20 27 | 68 6d 6f 75 73 65 2d 72 |.(fset '|hmouse-r|
|00003380| 65 6c 65 61 73 65 2d 72 | 69 67 68 74 2d 65 64 67 |elease-r|ight-edg|
|00003390| 65 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 61 |e #[(&op|tional a|
|000033a0| 73 73 69 73 74 2d 66 6c | 61 67 29 20 22 08 ab 83 |ssist-fl|ag) "...|
|000033b0| 09 aa 81 5c 6e c3 89 1c | 1d 1e 06 c7 c8 21 ab 97 |...\n...|.....!..|
|000033c0| 0e 06 ad 8d c9 0e 06 21 | ca 20 3d ad 84 cb 0e 06 |.......!|. =.....|
|000033d0| 21 14 cc 20 15 aa 8e cd | ce 20 38 15 0e 06 ad 84 |!.. ....|. 8.....|
|000033e0| cb 0e 06 21 14 0c ad 8d | 0c 0e 0f 5c 5c 0d 59 ad |...!....|...\\.Y.|
|000033f0| 85 0d 0c 5a d0 59 2b 87 | 22 20 5b 61 73 73 69 73 |...Z.Y+.|" [assis|
|00003400| 74 2d 66 6c 61 67 20 61 | 73 73 69 73 74 2d 6b 65 |t-flag a|ssist-ke|
|00003410| 79 2d 72 65 6c 65 61 73 | 65 2d 61 72 67 73 20 61 |y-releas|e-args a|
|00003420| 63 74 69 6f 6e 2d 6b 65 | 79 2d 72 65 6c 65 61 73 |ction-ke|y-releas|
|00003430| 65 2d 61 72 67 73 20 6e | 69 6c 20 6c 61 73 74 2d |e-args n|il last-|
|00003440| 72 65 6c 65 61 73 65 2d | 78 20 77 69 6e 64 6f 77 |release-|x window|
|00003450| 2d 72 69 67 68 74 20 61 | 72 67 73 20 66 62 6f 75 |-right a|rgs fbou|
|00003460| 6e 64 70 20 77 69 6e 64 | 6f 77 2d 6c 6f 77 65 73 |ndp wind|ow-lowes|
|00003470| 74 2d 70 20 65 76 65 6e | 74 2d 77 69 6e 64 6f 77 |t-p even|t-window|
|00003480| 20 73 65 6c 65 63 74 65 | 64 2d 77 69 6e 64 6f 77 | selecte|d-window|
|00003490| 20 68 6d 6f 75 73 65 2d | 78 2d 63 6f 6f 72 64 20 | hmouse-|x-coord |
|000034a0| 77 69 6e 64 6f 77 2d 77 | 69 64 74 68 20 32 20 77 |window-w|idth 2 w|
|000034b0| 69 6e 64 6f 77 2d 65 64 | 67 65 73 20 68 6d 6f 75 |indow-ed|ges hmou|
|000034c0| 73 65 2d 65 64 67 65 2d | 73 65 6e 73 69 74 69 76 |se-edge-|sensitiv|
|000034d0| 69 74 79 20 30 5d 20 33 | 20 22 5c 0a 52 65 74 75 |ity 0] 3| "\.Retu|
|000034e0| 72 6e 73 20 6e 6f 6e 2d | 6e 69 6c 20 69 66 20 6c |rns non-|nil if l|
|000034f0| 61 73 74 20 41 63 74 69 | 6f 6e 20 4b 65 79 20 72 |ast Acti|on Key r|
|00003500| 65 6c 65 61 73 65 20 77 | 61 73 20 61 74 20 72 69 |elease w|as at ri|
|00003510| 67 68 74 20 77 69 6e 64 | 6f 77 20 65 64 67 65 2e |ght wind|ow edge.|
|00003520| 0a 27 68 6d 6f 75 73 65 | 2d 65 64 67 65 2d 73 65 |.'hmouse|-edge-se|
|00003530| 6e 73 69 74 69 76 69 74 | 79 27 20 76 61 6c 75 65 |nsitivit|y' value|
|00003540| 20 64 65 74 65 72 6d 69 | 6e 65 73 20 68 6f 77 20 | determi|nes how |
|00003550| 6e 65 61 72 20 74 6f 20 | 61 63 74 75 61 6c 20 65 |near to |actual e|
|00003560| 64 67 65 20 74 68 65 0a | 72 65 6c 65 61 73 65 20 |dge the.|release |
|00003570| 6d 75 73 74 20 62 65 2e | 22 5d 29 0a 28 66 73 65 |must be.|"]).(fse|
|00003580| 74 20 27 68 6d 6f 75 73 | 65 2d 72 65 73 69 7a 65 |t 'hmous|e-resize|
|00003590| 2d 77 69 6e 64 6f 77 2d | 73 69 64 65 20 23 5b 28 |-window-|side #[(|
|000035a0| 26 6f 70 74 69 6f 6e 61 | 6c 20 61 73 73 69 73 74 |&optiona|l assist|
|000035b0| 2d 66 6c 61 67 29 20 22 | 08 ab 82 c1 87 5c 6e ad |-flag) "|.....\n.|
|000035c0| f0 c3 20 1c c5 0e 06 ab | 84 0e 07 aa 82 0e 08 21 |.. .....|.......!|
|000035d0| 89 1e 09 ad 87 ca cb 0e | 09 21 38 53 1e 0c cd 0e |........|.!8S....|
|000035e0| 06 ab 84 0e 0e aa 82 0e | 0f 21 1e 10 0e 0c 0e 10 |........|.!......|
|000035f0| 5a 1e 11 0e 12 ab 92 70 | 1e 13 d4 8e d5 0e 12 21 |Z......p|.......!|
|00003600| 71 88 d6 0e 12 21 62 88 | 2a 0e 0c ca 5c 5c d7 20 |q....!b.|*...\\. |
|00003610| 59 ab 85 d8 d9 21 aa 99 | da db 21 47 ca 57 ab 85 |Y....!..|..!G.W..|
|00003620| d8 dc 21 aa 8c dd 8e de | 0e 09 21 88 df 0e 11 21 |..!.....|..!....!|
|00003630| 29 2d 87 22 20 5b 68 79 | 70 65 72 62 3a 78 65 6d |)-." [hy|perb:xem|
|00003640| 61 63 73 2d 70 20 6e 69 | 6c 20 68 79 70 65 72 62 |acs-p ni|l hyperb|
|00003650| 3a 77 69 6e 64 6f 77 2d | 73 79 73 74 65 6d 20 73 |:window-|system s|
|00003660| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 6f |elected-|window o|
|00003670| 77 69 6e 64 20 73 6d 61 | 72 74 2d 77 69 6e 64 6f |wind sma|rt-windo|
|00003680| 77 2d 6f 66 2d 63 6f 6f | 72 64 73 20 61 73 73 69 |w-of-coo|rds assi|
|00003690| 73 74 2d 66 6c 61 67 20 | 61 73 73 69 73 74 2d 6b |st-flag |assist-k|
|000036a0| 65 79 2d 64 65 70 72 65 | 73 73 2d 61 72 67 73 20 |ey-depre|ss-args |
|000036b0| 61 63 74 69 6f 6e 2d 6b | 65 79 2d 64 65 70 72 65 |action-k|ey-depre|
|000036c0| 73 73 2d 61 72 67 73 20 | 77 69 6e 64 6f 77 20 32 |ss-args |window 2|
|000036d0| 20 77 69 6e 64 6f 77 2d | 65 64 67 65 73 20 73 69 | window-|edges si|
|000036e0| 64 65 2d 6c 6e 20 68 6d | 6f 75 73 65 2d 78 2d 63 |de-ln hm|ouse-x-c|
|000036f0| 6f 6f 72 64 20 61 73 73 | 69 73 74 2d 6b 65 79 2d |oord ass|ist-key-|
|00003700| 72 65 6c 65 61 73 65 2d | 61 72 67 73 20 61 63 74 |release-|args act|
|00003710| 69 6f 6e 2d 6b 65 79 2d | 72 65 6c 65 61 73 65 2d |ion-key-|release-|
|00003720| 61 72 67 73 20 6c 61 73 | 74 2d 72 65 6c 65 61 73 |args las|t-releas|
|00003730| 65 2d 78 20 73 68 72 69 | 6e 6b 2d 61 6d 6f 75 6e |e-x shri|nk-amoun|
|00003740| 74 20 61 63 74 69 6f 6e | 2d 6b 65 79 2d 72 65 6c |t action|-key-rel|
|00003750| 65 61 73 65 2d 70 72 65 | 76 2d 70 6f 69 6e 74 20 |ease-pre|v-point |
|00003760| 6f 62 75 66 20 28 28 73 | 65 74 2d 62 75 66 66 65 |obuf ((s|et-buffe|
|00003770| 72 20 6f 62 75 66 29 29 | 20 6d 61 72 6b 65 72 2d |r obuf))| marker-|
|00003780| 62 75 66 66 65 72 20 6d | 61 72 6b 65 72 2d 70 6f |buffer m|arker-po|
|00003790| 73 69 74 69 6f 6e 20 66 | 72 61 6d 65 2d 77 69 64 |sition f|rame-wid|
|000037a0| 74 68 20 65 72 72 6f 72 | 20 22 28 68 6d 6f 75 73 |th error| "(hmous|
|000037b0| 65 2d 72 65 73 69 7a 65 | 2d 77 69 6e 64 6f 77 2d |e-resize|-window-|
|000037c0| 73 69 64 65 29 3a 20 43 | 61 6e 27 74 20 63 68 61 |side): C|an't cha|
|000037d0| 6e 67 65 20 77 69 64 74 | 68 20 6f 66 20 66 75 6c |nge widt|h of ful|
|000037e0| 6c 20 66 72 61 6d 65 20 | 77 69 64 74 68 20 77 69 |l frame |width wi|
|000037f0| 6e 64 6f 77 2e 22 20 68 | 79 70 62 3a 77 69 6e 64 |ndow." h|ypb:wind|
|00003800| 6f 77 2d 6c 69 73 74 20 | 6e 6f 2d 6d 69 6e 69 62 |ow-list |no-minib|
|00003810| 75 66 20 22 28 68 6d 6f | 75 73 65 2d 72 65 73 69 |uf "(hmo|use-resi|
|00003820| 7a 65 2d 77 69 6e 64 6f | 77 2d 73 69 64 65 29 3a |ze-windo|w-side):|
|00003830| 20 43 61 6e 27 74 20 72 | 65 73 69 7a 65 20 73 6f | Can't r|esize so|
|00003840| 6c 65 20 77 69 6e 64 6f | 77 20 69 6e 20 66 72 61 |le windo|w in fra|
|00003850| 6d 65 2e 22 20 28 28 73 | 65 6c 65 63 74 2d 77 69 |me." ((s|elect-wi|
|00003860| 6e 64 6f 77 20 6f 77 69 | 6e 64 29 29 20 73 65 6c |ndow owi|nd)) sel|
|00003870| 65 63 74 2d 77 69 6e 64 | 6f 77 20 73 68 72 69 6e |ect-wind|ow shrin|
|00003880| 6b 2d 77 69 6e 64 6f 77 | 2d 68 6f 72 69 7a 6f 6e |k-window|-horizon|
|00003890| 74 61 6c 6c 79 5d 20 34 | 20 22 5c 0a 52 65 73 69 |tally] 4| "\.Resi|
|000038a0| 7a 65 73 20 77 69 6e 64 | 6f 77 20 77 68 6f 73 65 |zes wind|ow whose|
|000038b0| 20 73 69 64 65 20 77 61 | 73 20 64 65 70 72 65 73 | side wa|s depres|
|000038c0| 73 65 64 20 75 70 6f 6e | 20 62 79 20 74 68 65 20 |sed upon| by the |
|000038d0| 41 63 74 69 6f 6e 20 4b | 65 79 2e 0a 52 65 73 69 |Action K|ey..Resi|
|000038e0| 7a 65 20 61 6d 6f 75 6e | 74 20 64 65 70 65 6e 64 |ze amoun|t depend|
|000038f0| 73 20 75 70 6f 6e 20 74 | 68 65 20 68 6f 72 69 7a |s upon t|he horiz|
|00003900| 6f 6e 74 61 6c 20 64 69 | 66 66 65 72 65 6e 63 65 |ontal di|fference|
|00003910| 20 62 65 74 77 65 65 6e | 20 70 72 65 73 73 20 61 | between| press a|
|00003920| 6e 64 20 72 65 6c 65 61 | 73 65 0a 6f 66 20 74 68 |nd relea|se.of th|
|00003930| 65 20 41 63 74 69 6f 6e | 20 4b 65 79 2e 20 20 4f |e Action| Key. O|
|00003940| 70 74 69 6f 6e 61 6c 20 | 61 72 67 20 41 53 53 49 |ptional |arg ASSI|
|00003950| 53 54 2d 46 4c 41 47 20 | 6e 6f 6e 2d 6e 69 6c 20 |ST-FLAG |non-nil |
|00003960| 6d 65 61 6e 73 20 75 73 | 65 20 76 61 6c 75 65 73 |means us|e values|
|00003970| 20 66 72 6f 6d 0a 41 73 | 73 69 73 74 20 4b 65 79 | from.As|sist Key|
|00003980| 20 69 6e 73 74 65 61 64 | 2e 22 5d 29 0a 28 66 73 | instead|."]).(fs|
|00003990| 65 74 20 27 68 6d 6f 75 | 73 65 2d 73 77 61 70 2d |et 'hmou|se-swap-|
|000039a0| 62 75 66 66 65 72 73 20 | 23 5b 28 26 6f 70 74 69 |buffers |#[(&opti|
|000039b0| 6f 6e 61 6c 20 61 73 73 | 69 73 74 2d 66 6c 61 67 |onal ass|ist-flag|
|000039c0| 29 20 22 08 ab 83 09 aa | 81 5c 6e 1b 08 ab 83 0c |) ".....|.\n.....|
|000039d0| aa 81 0d 1e 06 0b ad 83 | c7 0b 21 1e 08 0e 06 ad |........|..!.....|
|000039e0| 84 c7 0e 06 21 1e 09 0b | ab 84 0e 06 ac 84 ca cb |....!...|........|
|000039f0| 21 88 cc 0b 0e 09 5c 22 | 88 cc 0e 06 0e 08 5c 22 |!.....\"|......\"|
|00003a00| 2c 87 22 20 5b 61 73 73 | 69 73 74 2d 66 6c 61 67 |,." [ass|ist-flag|
|00003a10| 20 61 73 73 69 73 74 2d | 6b 65 79 2d 64 65 70 72 | assist-|key-depr|
|00003a20| 65 73 73 2d 77 69 6e 64 | 6f 77 20 61 63 74 69 6f |ess-wind|ow actio|
|00003a30| 6e 2d 6b 65 79 2d 64 65 | 70 72 65 73 73 2d 77 69 |n-key-de|press-wi|
|00003a40| 6e 64 6f 77 20 77 31 20 | 61 73 73 69 73 74 2d 6b |ndow w1 |assist-k|
|00003a50| 65 79 2d 72 65 6c 65 61 | 73 65 2d 77 69 6e 64 6f |ey-relea|se-windo|
|00003a60| 77 20 61 63 74 69 6f 6e | 2d 6b 65 79 2d 72 65 6c |w action|-key-rel|
|00003a70| 65 61 73 65 2d 77 69 6e | 64 6f 77 20 77 32 20 77 |ease-win|dow w2 w|
|00003a80| 69 6e 64 6f 77 2d 62 75 | 66 66 65 72 20 77 31 2d |indow-bu|ffer w1-|
|00003a90| 62 75 66 20 77 32 2d 62 | 75 66 20 65 72 72 6f 72 |buf w2-b|uf error|
|00003aa0| 20 22 28 68 6d 6f 75 73 | 65 2d 73 77 61 70 2d 62 | "(hmous|e-swap-b|
|00003ab0| 75 66 66 65 72 73 29 3a | 20 4c 61 73 74 20 64 65 |uffers):| Last de|
|00003ac0| 70 72 65 73 73 20 6f 72 | 20 72 65 6c 65 61 73 65 |press or| release|
|00003ad0| 20 6e 6f 74 20 77 69 74 | 68 69 6e 20 61 20 77 69 | not wit|hin a wi|
|00003ae0| 6e 64 6f 77 2e 22 20 73 | 65 74 2d 77 69 6e 64 6f |ndow." s|et-windo|
|00003af0| 77 2d 62 75 66 66 65 72 | 5d 20 33 20 22 5c 0a 53 |w-buffer|] 3 "\.S|
|00003b00| 77 61 70 73 20 62 75 66 | 66 65 72 73 20 69 6e 20 |waps buf|fers in |
|00003b10| 77 69 6e 64 6f 77 73 20 | 73 65 6c 65 63 74 65 64 |windows |selected|
|00003b20| 20 77 69 74 68 20 6c 61 | 73 74 20 41 63 74 69 6f | with la|st Actio|
|00003b30| 6e 20 4b 65 79 20 64 65 | 70 72 65 73 73 20 61 6e |n Key de|press an|
|00003b40| 64 20 72 65 6c 65 61 73 | 65 2e 0a 49 66 20 6f 70 |d releas|e..If op|
|00003b50| 74 69 6f 6e 61 6c 20 61 | 72 67 20 41 53 53 49 53 |tional a|rg ASSIS|
|00003b60| 54 2d 46 4c 41 47 20 69 | 73 20 6e 6f 6e 2d 6e 69 |T-FLAG i|s non-ni|
|00003b70| 6c 2c 20 75 73 65 73 20 | 41 73 73 69 73 74 20 4b |l, uses |Assist K|
|00003b80| 65 79 2e 22 5d 29 0a 28 | 66 73 65 74 20 27 68 6d |ey."]).(|fset 'hm|
|00003b90| 6f 75 73 65 2d 73 77 61 | 70 2d 77 69 6e 64 6f 77 |ouse-swa|p-window|
|00003ba0| 73 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 61 |s #[(&op|tional a|
|00003bb0| 73 73 69 73 74 2d 66 6c | 61 67 29 20 22 08 ab 83 |ssist-fl|ag) "...|
|00003bc0| 09 aa 81 5c 6e 1b 08 ab | 83 0c aa 81 0d 1e 06 0b |...\n...|........|
|00003bd0| ad 83 c7 0b 21 1e 08 0b | ad 83 c9 0b 21 1e 5c 6e |....!...|....!.\n|
|00003be0| 0e 06 ad 84 c7 0e 06 21 | 1e 0b 0e 06 ad 84 c9 0e |.......!|........|
|00003bf0| 06 21 1e 0c 0b ab 84 0e | 06 ac 84 cd ce 21 88 cf |.!......|.....!..|
|00003c00| 8e d0 0b 21 88 0e 5c 6e | d1 20 55 ac 88 d2 0e 5c |...!..\n|. U....\|
|00003c10| 6e 0e 0c 5a 21 88 0e 08 | d3 20 55 ac 88 d4 0e 08 |n..Z!...|. U.....|
|00003c20| 0e 0b 5a 21 88 d0 0e 06 | 21 88 c7 0e 06 21 16 0b |..Z!....|!....!..|
|00003c30| c9 0e 06 21 89 16 0c d1 | 20 55 ac 88 d2 0e 0c 0e |...!....| U......|
|00003c40| 5c 6e 5a 21 88 0e 0b d3 | 20 55 3f ad 87 d4 0e 0b |\nZ!....| U?.....|
|00003c50| 0e 08 5a 21 2e 07 87 22 | 20 5b 61 73 73 69 73 74 |..Z!..."| [assist|
|00003c60| 2d 66 6c 61 67 20 61 73 | 73 69 73 74 2d 6b 65 79 |-flag as|sist-key|
|00003c70| 2d 64 65 70 72 65 73 73 | 2d 77 69 6e 64 6f 77 20 |-depress|-window |
|00003c80| 61 63 74 69 6f 6e 2d 6b | 65 79 2d 64 65 70 72 65 |action-k|ey-depre|
|00003c90| 73 73 2d 77 69 6e 64 6f | 77 20 77 31 20 61 73 73 |ss-windo|w w1 ass|
|00003ca0| 69 73 74 2d 6b 65 79 2d | 72 65 6c 65 61 73 65 2d |ist-key-|release-|
|00003cb0| 77 69 6e 64 6f 77 20 61 | 63 74 69 6f 6e 2d 6b 65 |window a|ction-ke|
|00003cc0| 79 2d 72 65 6c 65 61 73 | 65 2d 77 69 6e 64 6f 77 |y-releas|e-window|
|00003cd0| 20 77 32 20 77 69 6e 64 | 6f 77 2d 77 69 64 74 68 | w2 wind|ow-width|
|00003ce0| 20 77 31 2d 77 69 64 74 | 68 20 77 69 6e 64 6f 77 | w1-widt|h window|
|00003cf0| 2d 68 65 69 67 68 74 20 | 77 31 2d 68 65 69 67 68 |-height |w1-heigh|
|00003d00| 74 20 77 32 2d 77 69 64 | 74 68 20 77 32 2d 68 65 |t w2-wid|th w2-he|
|00003d10| 69 67 68 74 20 65 72 72 | 6f 72 20 22 28 68 6d 6f |ight err|or "(hmo|
|00003d20| 75 73 65 2d 73 77 61 70 | 2d 77 69 6e 64 6f 77 73 |use-swap|-windows|
|00003d30| 29 3a 20 4c 61 73 74 20 | 64 65 70 72 65 73 73 20 |): Last |depress |
|00003d40| 6f 72 20 72 65 6c 65 61 | 73 65 20 6e 6f 74 20 77 |or relea|se not w|
|00003d50| 69 74 68 69 6e 20 61 20 | 77 69 6e 64 6f 77 2e 22 |ithin a |window."|
|00003d60| 20 28 28 73 65 6c 65 63 | 74 2d 77 69 6e 64 6f 77 | ((selec|t-window|
|00003d70| 20 77 32 29 29 20 73 65 | 6c 65 63 74 2d 77 69 6e | w2)) se|lect-win|
|00003d80| 64 6f 77 20 66 72 61 6d | 65 2d 68 65 69 67 68 74 |dow fram|e-height|
|00003d90| 20 73 68 72 69 6e 6b 2d | 77 69 6e 64 6f 77 20 66 | shrink-|window f|
|00003da0| 72 61 6d 65 2d 77 69 64 | 74 68 20 73 68 72 69 6e |rame-wid|th shrin|
|00003db0| 6b 2d 77 69 6e 64 6f 77 | 2d 68 6f 72 69 7a 6f 6e |k-window|-horizon|
|00003dc0| 74 61 6c 6c 79 5d 20 34 | 20 22 5c 0a 53 77 61 70 |tally] 4| "\.Swap|
|00003dd0| 73 20 77 69 6e 64 6f 77 | 73 20 73 65 6c 65 63 74 |s window|s select|
|00003de0| 65 64 20 77 69 74 68 20 | 6c 61 73 74 20 41 63 74 |ed with |last Act|
|00003df0| 69 6f 6e 20 4b 65 79 20 | 64 65 70 72 65 73 73 20 |ion Key |depress |
|00003e00| 61 6e 64 20 72 65 6c 65 | 61 73 65 2e 0a 49 66 20 |and rele|ase..If |
|00003e10| 6f 70 74 69 6f 6e 61 6c | 20 61 72 67 20 41 53 53 |optional| arg ASS|
|00003e20| 49 53 54 2d 46 4c 41 47 | 20 69 73 20 6e 6f 6e 2d |IST-FLAG| is non-|
|00003e30| 6e 69 6c 2c 20 75 73 65 | 73 20 41 73 73 69 73 74 |nil, use|s Assist|
|00003e40| 20 4b 65 79 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 | Key."])|.(fset '|
|00003e50| 68 6d 6f 75 73 65 2d 78 | 2d 63 6f 6f 72 64 20 23 |hmouse-x|-coord #|
|00003e60| 5b 28 61 72 67 73 29 20 | 22 c0 c1 5c 6e c3 5c 22 |[(args) |"..\n.\"|
|00003e70| 41 21 89 1c a8 ab 83 0c | aa 84 c5 c6 0c 5c 22 29 |A!......|.....\")|
|00003e80| 87 22 20 5b 65 76 61 6c | 20 61 73 73 6f 63 20 68 |." [eval| assoc h|
|00003e90| 79 70 65 72 62 3a 77 69 | 6e 64 6f 77 2d 73 79 73 |yperb:wi|ndow-sys|
|00003ea0| 74 65 6d 20 28 28 22 65 | 6d 61 63 73 31 39 22 20 |tem (("e|macs19" |
|00003eb0| 69 66 20 28 65 76 65 6e | 74 70 20 61 72 67 73 29 |if (even|tp args)|
|00003ec0| 20 28 2b 20 28 63 61 72 | 20 28 70 6f 73 6e 2d 63 | (+ (car| (posn-c|
|00003ed0| 6f 6c 2d 72 6f 77 20 28 | 65 76 65 6e 74 2d 73 74 |ol-row (|event-st|
|00003ee0| 61 72 74 20 61 72 67 73 | 29 29 29 20 28 6e 74 68 |art args|))) (nth|
|00003ef0| 20 30 20 28 77 69 6e 64 | 6f 77 2d 65 64 67 65 73 | 0 (wind|ow-edges|
|00003f00| 20 28 63 61 72 20 28 63 | 61 72 20 28 63 64 72 20 | (car (c|ar (cdr |
|00003f10| 61 72 67 73 29 29 29 29 | 29 29 20 28 63 61 72 20 |args))))|)) (car |
|00003f20| 61 72 67 73 29 29 20 28 | 22 6c 65 6d 61 63 73 22 |args)) (|"lemacs"|
|00003f30| 20 69 66 20 28 65 76 65 | 6e 74 70 20 61 72 67 73 | if (eve|ntp args|
|00003f40| 29 20 28 65 76 65 6e 74 | 2d 78 20 61 72 67 73 29 |) (event|-x args)|
|00003f50| 20 28 63 61 72 20 61 72 | 67 73 29 29 20 28 22 78 | (car ar|gs)) ("x|
|00003f60| 74 65 72 6d 22 20 63 61 | 72 20 61 72 67 73 29 20 |term" ca|r args) |
|00003f70| 28 22 65 70 6f 63 68 22 | 20 6e 74 68 20 30 20 61 |("epoch"| nth 0 a|
|00003f80| 72 67 73 29 20 28 22 73 | 75 6e 22 20 6e 74 68 20 |rgs) ("s|un" nth |
|00003f90| 31 20 61 72 67 73 29 20 | 28 22 6e 65 78 74 22 20 |1 args) |("next" |
|00003fa0| 6e 74 68 20 31 20 61 72 | 67 73 29 20 28 22 61 70 |nth 1 ar|gs) ("ap|
|00003fb0| 6f 6c 6c 6f 22 20 63 61 | 72 20 61 72 67 73 29 29 |ollo" ca|r args))|
|00003fc0| 20 78 20 65 72 72 6f 72 | 20 22 28 68 6d 6f 75 73 | x error| "(hmous|
|00003fd0| 65 2d 78 2d 63 6f 6f 72 | 64 29 3a 20 69 6e 76 61 |e-x-coor|d): inva|
|00003fe0| 6c 69 64 20 58 20 63 6f | 6f 72 64 3a 20 25 73 22 |lid X co|ord: %s"|
|00003ff0| 5d 20 35 20 22 5c 0a 52 | 65 74 75 72 6e 73 20 78 |] 5 "\.R|eturns x|
|00004000| 20 63 6f 6f 72 64 69 6e | 61 74 65 20 69 6e 20 63 | coordin|ate in c|
|00004010| 68 61 72 73 20 66 72 6f | 6d 20 77 69 6e 64 6f 77 |hars fro|m window|
|00004020| 20 73 79 73 74 65 6d 20 | 64 65 70 65 6e 64 65 6e | system |dependen|
|00004030| 74 20 41 52 47 53 2e 22 | 5d 29 0a 28 66 73 65 74 |t ARGS."|]).(fset|
|00004040| 20 27 68 6d 6f 75 73 65 | 2d 79 2d 63 6f 6f 72 64 | 'hmouse|-y-coord|
|00004050| 20 23 5b 28 61 72 67 73 | 29 20 22 c0 c1 5c 6e c3 | #[(args|) "..\n.|
|00004060| 5c 22 41 21 89 1c a8 ab | 83 0c aa 84 c5 c6 0c 5c |\"A!....|.......\|
|00004070| 22 29 87 22 20 5b 65 76 | 61 6c 20 61 73 73 6f 63 |")." [ev|al assoc|
|00004080| 20 68 79 70 65 72 62 3a | 77 69 6e 64 6f 77 2d 73 | hyperb:|window-s|
|00004090| 79 73 74 65 6d 20 28 28 | 22 65 6d 61 63 73 31 39 |ystem ((|"emacs19|
|000040a0| 22 20 69 66 20 28 65 76 | 65 6e 74 70 20 61 72 67 |" if (ev|entp arg|
|000040b0| 73 29 20 28 2b 20 28 63 | 64 72 20 28 70 6f 73 6e |s) (+ (c|dr (posn|
|000040c0| 2d 63 6f 6c 2d 72 6f 77 | 20 28 65 76 65 6e 74 2d |-col-row| (event-|
|000040d0| 73 74 61 72 74 20 61 72 | 67 73 29 29 29 20 28 6e |start ar|gs))) (n|
|000040e0| 74 68 20 31 20 28 77 69 | 6e 64 6f 77 2d 65 64 67 |th 1 (wi|ndow-edg|
|000040f0| 65 73 20 28 63 61 72 20 | 28 63 61 72 20 28 63 64 |es (car |(car (cd|
|00004100| 72 20 61 72 67 73 29 29 | 29 29 29 29 20 28 63 64 |r args))|)))) (cd|
|00004110| 72 20 61 72 67 73 29 29 | 20 28 22 6c 65 6d 61 63 |r args))| ("lemac|
|00004120| 73 22 20 69 66 20 28 65 | 76 65 6e 74 70 20 61 72 |s" if (e|ventp ar|
|00004130| 67 73 29 20 28 65 76 65 | 6e 74 2d 79 20 61 72 67 |gs) (eve|nt-y arg|
|00004140| 73 29 20 28 63 64 72 20 | 61 72 67 73 29 29 20 28 |s) (cdr |args)) (|
|00004150| 22 78 74 65 72 6d 22 20 | 6e 74 68 20 31 20 61 72 |"xterm" |nth 1 ar|
|00004160| 67 73 29 20 28 22 65 70 | 6f 63 68 22 20 6e 74 68 |gs) ("ep|och" nth|
|00004170| 20 31 20 61 72 67 73 29 | 20 28 22 73 75 6e 22 20 | 1 args)| ("sun" |
|00004180| 6e 74 68 20 32 20 61 72 | 67 73 29 20 28 22 6e 65 |nth 2 ar|gs) ("ne|
|00004190| 78 74 22 20 6e 74 68 20 | 32 20 61 72 67 73 29 20 |xt" nth |2 args) |
|000041a0| 28 22 61 70 6f 6c 6c 6f | 22 20 6e 74 68 20 31 20 |("apollo|" nth 1 |
|000041b0| 61 72 67 73 29 29 20 79 | 20 65 72 72 6f 72 20 22 |args)) y| error "|
|000041c0| 28 68 6d 6f 75 73 65 2d | 79 2d 63 6f 6f 72 64 29 |(hmouse-|y-coord)|
|000041d0| 3a 20 69 6e 76 61 6c 69 | 64 20 59 20 63 6f 6f 72 |: invali|d Y coor|
|000041e0| 64 3a 20 25 73 22 5d 20 | 35 20 22 5c 0a 52 65 74 |d: %s"] |5 "\.Ret|
|000041f0| 75 72 6e 73 20 79 20 63 | 6f 6f 72 64 69 6e 61 74 |urns y c|oordinat|
|00004200| 65 20 69 6e 20 66 72 61 | 6d 65 20 6c 69 6e 65 73 |e in fra|me lines|
|00004210| 20 66 72 6f 6d 20 77 69 | 6e 64 6f 77 20 73 79 73 | from wi|ndow sys|
|00004220| 74 65 6d 20 64 65 70 65 | 6e 64 65 6e 74 20 41 52 |tem depe|ndent AR|
|00004230| 47 53 2e 22 5d 29 0a 28 | 70 72 6f 76 69 64 65 20 |GS."]).(|provide |
|00004240| 27 68 75 69 2d 77 69 6e | 64 6f 77 29 0a |'hui-win|dow). |
+--------+-------------------------+-------------------------+--------+--------+